|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.http.client.AbstractClientHttpRequest org.springframework.http.client.AbstractBufferingClientHttpRequest org.springframework.http.client.CommonsClientHttpRequest
HttpComponentsClientHttpRequest
@Deprecated final class CommonsClientHttpRequest
ClientHttpRequest
implementation that uses
Apache Commons HttpClient to execute requests.
Created via the CommonsClientHttpRequestFactory
.
CommonsClientHttpRequestFactory.createRequest(java.net.URI, HttpMethod)
Field Summary | |
---|---|
private HttpClient |
httpClient
Deprecated. |
private HttpMethodBase |
httpMethod
Deprecated. |
Constructor Summary | |
---|---|
CommonsClientHttpRequest(HttpClient httpClient,
HttpMethodBase httpMethod)
Deprecated. |
Method Summary | |
---|---|
ClientHttpResponse |
executeInternal(HttpHeaders headers,
byte[] output)
Deprecated. Abstract template method that writes the given headers and content to the HTTP request. |
HttpMethod |
getMethod()
Deprecated. Return the HTTP method of the request. |
java.net.URI |
getURI()
Deprecated. Return the URI of the request. |
Methods inherited from class org.springframework.http.client.AbstractBufferingClientHttpRequest |
---|
executeInternal, getBodyInternal |
Methods inherited from class org.springframework.http.client.AbstractClientHttpRequest |
---|
execute, getBody, getHeaders |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final HttpClient httpClient
private final HttpMethodBase httpMethod
Constructor Detail |
---|
CommonsClientHttpRequest(HttpClient httpClient, HttpMethodBase httpMethod)
Method Detail |
---|
public HttpMethod getMethod()
HttpRequest
public java.net.URI getURI()
HttpRequest
public ClientHttpResponse executeInternal(HttpHeaders headers, byte[] output) throws java.io.IOException
AbstractBufferingClientHttpRequest
executeInternal
in class AbstractBufferingClientHttpRequest
headers
- the HTTP headersoutput
- the body content
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |