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.IOException
java.net.URISyntaxException
org.apache.http.HttpException
public static java.lang.String getResponseContent(org.apache.http.HttpResponse response) throws java.io.IOException
java.io.IOException
Copyright © 2013. All Rights Reserved.