| Constructor and Description |
|---|
CommonsHttpClientRequester(org.apache.commons.httpclient.HttpClient httpClient,
String url)
Creates a new CommonsHttpClientRequester instance using a pre-configured
HttpClient and URL of remote service which is accessible using HTTP(s).
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureMethod(org.apache.commons.httpclient.methods.PostMethod method) |
Request |
createRequest()
Creates and initializes a new request.
|
public CommonsHttpClientRequester(org.apache.commons.httpclient.HttpClient httpClient,
String url)
httpClient - HttpClient instanceurl - remote service URLpublic Request createRequest() throws IOException
RequestercreateRequest in interface RequesterIOException - if input/output error occursprotected void configureMethod(org.apache.commons.httpclient.methods.PostMethod method)
Copyright © 2015. All Rights Reserved.