Package org.springframework.http
Interface StreamingHttpOutputMessage
- All Superinterfaces:
HttpMessage,HttpOutputMessage
Represents an HTTP output message that allows for setting a streaming body.
Note that such messages typically do not support
HttpOutputMessage.getBody() access.- Since:
- 4.0
- Author:
- Arjen Poutsma
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDefines the contract for bodies that can be written directly to anOutputStream. -
Method Summary
Modifier and TypeMethodDescriptionvoidSet the streaming body callback for this message.Methods inherited from interface org.springframework.http.HttpMessage
getHeadersMethods inherited from interface org.springframework.http.HttpOutputMessage
getBody
-
Method Details
-
setBody
Set the streaming body callback for this message.- Parameters:
body- the streaming body callback
-