public class HttpClientUtil extends Object
| Constructor and Description |
|---|
HttpClientUtil() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.methods.HttpRequestBase |
createRequestBase(RequestAction requestAction) |
org.apache.http.HttpResponse |
execute(org.apache.http.impl.client.DefaultHttpClient client,
org.apache.http.client.methods.HttpRequestBase method,
PrintStream logger) |
org.apache.http.client.methods.HttpGet |
makeGet(RequestAction requestAction) |
org.apache.http.client.methods.HttpPost |
makePost(RequestAction requestAction) |
public org.apache.http.client.methods.HttpRequestBase createRequestBase(RequestAction requestAction) throws UnsupportedEncodingException, IOException
public org.apache.http.client.methods.HttpGet makeGet(RequestAction requestAction) throws UnsupportedEncodingException, IOException
public org.apache.http.client.methods.HttpPost makePost(RequestAction requestAction) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic org.apache.http.HttpResponse execute(org.apache.http.impl.client.DefaultHttpClient client,
org.apache.http.client.methods.HttpRequestBase method,
PrintStream logger)
throws IOException
IOExceptionCopyright © 2004-2012. All Rights Reserved.