接口 StreamingHttpOutputMessage
- 所有超级接口:
HttpMessage
,HttpOutputMessage
public interface StreamingHttpOutputMessage extends HttpOutputMessage
Represents a HTTP output message that allows for setting a streaming body. Note that such messages typically do not supportHttpOutputMessage.getBody()
access.- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma
- 另请参阅:
setBody(org.springframework.http.StreamingHttpOutputMessage.Body)
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static interface
StreamingHttpOutputMessage.Body
Defines the contract for bodies that can be written directly to anOutputStream
.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
setBody(StreamingHttpOutputMessage.Body body)
Set the streaming body callback for this message.从接口继承的方法 org.springframework.http.HttpMessage
getHeaders
从接口继承的方法 org.springframework.http.HttpOutputMessage
getBody
方法详细资料
setBody
void setBody(StreamingHttpOutputMessage.Body body)
Set the streaming body callback for this message.- 参数:
body
- the streaming body callback