public class HttpClientUtils extends Object
| Constructor and Description |
|---|
HttpClientUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.HttpResponse |
callGet(String host,
int port,
String file) |
static String |
getResponseContent(org.apache.http.HttpResponse response) |
public static org.apache.http.HttpResponse callGet(String host, int port, String file) throws IOException, URISyntaxException, org.apache.http.HttpException
IOExceptionURISyntaxExceptionorg.apache.http.HttpExceptionpublic static String getResponseContent(org.apache.http.HttpResponse response) throws IOException
IOExceptionCopyright © 2015. All rights reserved.