Class InputStreamHttpInputMessage
java.lang.Object
org.springframework.data.rest.webmvc.util.InputStreamHttpInputMessage
- All Implemented Interfaces:
org.springframework.http.HttpInputMessage
,org.springframework.http.HttpMessage
public class InputStreamHttpInputMessage
extends Object
implements org.springframework.http.HttpInputMessage
HttpInputMessage
based on a plain InputStream
, i.e. exposing no headers.- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()
org.springframework.http.HttpHeaders
static InputStreamHttpInputMessage
of
(InputStream body)
-
Method Details
-
of
-
getBody
- Specified by:
getBody
in interfaceorg.springframework.http.HttpInputMessage
-
getHeaders
public org.springframework.http.HttpHeaders getHeaders()- Specified by:
getHeaders
in interfaceorg.springframework.http.HttpMessage
-