Class InputStreamHttpInputMessage
java.lang.Object
org.springframework.data.rest.webmvc.util.InputStreamHttpInputMessage
- All Implemented Interfaces:
HttpInputMessage, HttpMessage
HttpInputMessage based on a plain InputStream, i.e. exposing no headers.- Author:
- Oliver Drotbohm, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()static InputStreamHttpInputMessageof(InputStream body) static InputStreamHttpInputMessageof(ThrowingSupplier<InputStream> body)
-
Method Details
-
of
-
of
- Since:
- 5.0
-
getBody
- Specified by:
getBodyin interfaceHttpInputMessage
-
getHeaders
- Specified by:
getHeadersin interfaceHttpMessage
-