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,
boolean logResponseBody) |
org.apache.http.client.methods.HttpDelete |
makeDelete(RequestAction requestAction) |
org.apache.http.client.methods.HttpGet |
makeGet(RequestAction requestAction) |
org.apache.http.client.methods.HttpPost |
makePost(RequestAction requestAction) |
org.apache.http.client.methods.HttpPut |
makePut(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.client.methods.HttpPut makePut(RequestAction requestAction) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic org.apache.http.client.methods.HttpDelete makeDelete(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,
boolean logResponseBody)
throws IOException
IOExceptionCopyright © 2004-2014. All Rights Reserved.