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
IOException
URISyntaxException
org.apache.http.HttpException
public static String getResponseContent(org.apache.http.HttpResponse response) throws IOException
IOException
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.