|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.http.client.AbstractClientHttpRequest
org.springframework.http.client.StreamingSimpleClientHttpRequest
public class StreamingSimpleClientHttpRequest
ClientHttpRequest implementation that uses standard J2SE facilities to execute streaming requests.
Created via the SimpleClientHttpRequestFactory.
SimpleClientHttpRequestFactory.createRequest(java.net.URI, HttpMethod)| Method Summary | |
|---|---|
protected ClientHttpResponse |
executeInternal(HttpHeaders headers)
Abstract template method that writes the given headers and content to the HTTP request. |
protected OutputStream |
getBodyInternal(HttpHeaders headers)
Abstract template method that returns the body. |
HttpMethod |
getMethod()
Return the HTTP method of the request. |
URI |
getURI()
Return the URI of the request. |
| 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 |
| Method Detail |
|---|
public HttpMethod getMethod()
HttpRequest
public URI getURI()
HttpRequest
protected OutputStream getBodyInternal(HttpHeaders headers)
throws IOException
AbstractClientHttpRequest
getBodyInternal in class AbstractClientHttpRequestheaders - the HTTP headers
IOException
protected ClientHttpResponse executeInternal(HttpHeaders headers)
throws IOException
AbstractClientHttpRequest
executeInternal in class AbstractClientHttpRequestheaders - the HTTP headers
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||