Top Description Methods
org.springframework.http

public Interface HttpInputMessage

extends HttpMessage
Known Direct Subinterfaces
org.springframework.http.client.ClientHttpResponse, org.springframework.http.server.ServerHttpRequest
Known Direct Implementers
org.springframework.http.converter.json.MappingJacksonInputMessage
Imports
java.io.IOException, .InputStream

Represents an HTTP input message, consisting of headers and a readable body.

Typically implemented by an HTTP request handle on the server side, or an HTTP response handle on the client side.

Author
Arjen Poutsma
Since
3.0

Method Summary

Modifier and TypeMethod and Description
public InputStream

Returns:

the input stream body (never null)
getBody
()

Return the body of the message as an input stream.

Inherited from org.springframework.http.HttpMessage:
getHeaders

Method Detail

getBodyback to summary
public InputStream getBody() throws IOException

Return the body of the message as an input stream.

Returns:InputStream

the input stream body (never null)

Exceptions
IOException:
in case of I/O errors