org.apache.uima.simpleserver.util
Class HttpClientUtils
java.lang.Object
org.apache.uima.simpleserver.util.HttpClientUtils
public class HttpClientUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientUtils
public HttpClientUtils()
callGet
public static org.apache.http.HttpResponse callGet(String host,
int port,
String file)
throws IOException,
URISyntaxException,
org.apache.http.HttpException
- Throws:
IOException
URISyntaxException
org.apache.http.HttpException
getResponseContent
public static String getResponseContent(org.apache.http.HttpResponse response)
throws IOException
- Throws:
IOException
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.