public class

StreamingSimpleClientHttpRequest

extends AbstractClientHttpRequest
java.lang.Object
   ↳ org.springframework.http.client.AbstractClientHttpRequest
     ↳ org.springframework.http.client.StreamingSimpleClientHttpRequest

Class Overview

ClientHttpRequest implementation that uses standard J2SE facilities to execute streaming requests. Created via the SimpleClientHttpRequestFactory.

Summary

Public Methods
HttpMethod getMethod()
URI getURI()
Protected Methods
ClientHttpResponse executeInternal(HttpHeaders headers)
Abstract template method that writes the given headers and content to the HTTP request.
OutputStream getBodyInternal(HttpHeaders headers)
Abstract template method that returns the body.
[Expand]
Inherited Methods
From class org.springframework.http.client.AbstractClientHttpRequest
From class java.lang.Object
From interface org.springframework.http.HttpMessage
From interface org.springframework.http.HttpOutputMessage
From interface org.springframework.http.HttpRequest
From interface org.springframework.http.client.ClientHttpRequest

Public Methods

public HttpMethod getMethod ()

public URI getURI ()

Protected Methods

protected ClientHttpResponse executeInternal (HttpHeaders headers)

Abstract template method that writes the given headers and content to the HTTP request.

Parameters
headers the HTTP headers
Returns
  • the response object for the executed request
Throws
IOException

protected OutputStream getBodyInternal (HttpHeaders headers)

Abstract template method that returns the body.

Parameters
headers the HTTP headers
Returns
  • the body output stream
Throws
IOException