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 SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDefines the contract for bodies that can be written directly to anOutputStream.
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidsetBody(byte[] body) Variant ofsetBody(Body)for a non-streaming write.voidSet the streaming body callback for this message.Methods inherited from interface HttpMessagegetHeadersMethods inherited from interface HttpOutputMessagegetBody
- 
Method Details- 
setBodySet the streaming body callback for this message.- Parameters:
- body- the streaming body callback
 
- 
setBodyVariant ofsetBody(Body)for a non-streaming write.- Parameters:
- body- the content to write
- Throws:
- IOException- if an I/O exception occurs
- Since:
- 7.0
 
 
-