org.apache.uima.simpleserver.util
Class HttpClientUtils

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

public class HttpClientUtils
extends java.lang.Object


Constructor Summary
HttpClientUtils()
           
 
Method Summary
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)
           
 
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(java.lang.String host,
                                                   int port,
                                                   java.lang.String file)
                                            throws java.io.IOException,
                                                   java.net.URISyntaxException,
                                                   org.apache.http.HttpException
Throws:
java.io.IOException
java.net.URISyntaxException
org.apache.http.HttpException

getResponseContent

public static java.lang.String getResponseContent(org.apache.http.HttpResponse response)
                                           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011. All Rights Reserved.