Package org.springframework.http
Interface HttpInputMessage
- All Superinterfaces:
HttpMessage
- All Known Subinterfaces:
ClientHttpResponse
,ServerHttpRequest
- All Known Implementing Classes:
AbstractClientHttpResponse
,MappingJacksonInputMessage
,RequestPartServletServerHttpRequest
,ServletServerHttpRequest
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.
- Since:
- 3.0
- Author:
- Arjen Poutsma
-
Method Summary
Methods inherited from interface org.springframework.http.HttpMessage
getHeaders
-
Method Details
-
getBody
Return the body of the message as an input stream.- Returns:
- the input stream body (never
null
) - Throws:
IOException
- in case of I/O errors
-