接口 BodyInserter.Context
- 封闭接口:
- BodyInserter<T,
M extends ReactiveHttpOutputMessage>
public static interface BodyInserter.Context
Defines the context used during the insertion.
-
方法概要
修饰符和类型方法说明hints()Return the map of hints to use for response body conversion.Return theHttpMessageWritersto be used for response body conversion.Optionally return theServerHttpRequest, if present.
-
方法详细资料
-
messageWriters
List<HttpMessageWriter<?>> messageWriters()Return theHttpMessageWritersto be used for response body conversion.- 返回:
- the stream of message writers
-
serverRequest
Optional<ServerHttpRequest> serverRequest()Optionally return theServerHttpRequest, if present. -
hints
Return the map of hints to use for response body conversion.
-