org.apache.uima.simpleserver.util
Class HttpClientUtils

java.lang.Object
  extended by org.apache.uima.simpleserver.util.HttpClientUtils

public class HttpClientUtils
extends Object


Constructor Summary
HttpClientUtils()
           
 
Method Summary
static org.apache.http.HttpResponse callGet(String host, int port, String file)
           
static String getResponseContent(org.apache.http.HttpResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpClientUtils

public HttpClientUtils()
Method Detail

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.