public class HttpClientHelper extends Object
| Constructor and Description |
|---|
HttpClientHelper(HttpSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.HttpRequest |
configureRequest(org.apache.http.HttpRequest request) |
org.apache.http.HttpResponse |
performGet(String source) |
org.apache.http.HttpResponse |
performGet(String source,
boolean ignoreError) |
org.apache.http.HttpResponse |
performHead(String source) |
org.apache.http.HttpResponse |
performHead(String source,
boolean ignoreError) |
org.apache.http.HttpResponse |
performHttpRequest(org.apache.http.client.methods.HttpRequestBase request) |
org.apache.http.HttpResponse |
performRawGet(String source) |
org.apache.http.HttpResponse |
performRawHead(String source) |
org.apache.http.HttpResponse |
performRequest(org.apache.http.client.methods.HttpRequestBase request) |
boolean |
wasMissing(org.apache.http.HttpResponse response) |
boolean |
wasSuccessful(org.apache.http.HttpResponse response) |
public HttpClientHelper(HttpSettings settings)
public org.apache.http.HttpResponse performRawHead(String source)
public org.apache.http.HttpResponse performHead(String source)
public org.apache.http.HttpResponse performHead(String source, boolean ignoreError)
public org.apache.http.HttpResponse performRawGet(String source)
public org.apache.http.HttpResponse performGet(String source)
public org.apache.http.HttpResponse performGet(String source, boolean ignoreError)
public org.apache.http.HttpRequest configureRequest(org.apache.http.HttpRequest request)
public org.apache.http.HttpResponse performRequest(org.apache.http.client.methods.HttpRequestBase request)
public boolean wasMissing(org.apache.http.HttpResponse response)
public boolean wasSuccessful(org.apache.http.HttpResponse response)
public org.apache.http.HttpResponse performHttpRequest(org.apache.http.client.methods.HttpRequestBase request)
throws IOException
IOExceptionCopyright © 2013. All rights reserved