public class HttpClientUtils
extends java.lang.Object
| Constructor and Description |
|---|
HttpClientUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.HttpResponse |
callGet(java.lang.String host,
int port,
java.lang.String file) |
static java.lang.String |
getResponseContent(org.apache.http.HttpResponse response) |
public static org.apache.http.HttpResponse callGet(java.lang.String host,
int port,
java.lang.String file)
throws java.io.IOException,
java.net.URISyntaxException,
org.apache.http.HttpException
java.io.IOExceptionjava.net.URISyntaxExceptionorg.apache.http.HttpExceptionpublic static java.lang.String getResponseContent(org.apache.http.HttpResponse response)
throws java.io.IOException
java.io.IOExceptionCopyright © 2013. All Rights Reserved.