Interface BodyInserter.Context
- Enclosing interface:
- BodyInserter<T,M extends ReactiveHttpOutputMessage>
public static interface BodyInserter.Context
Defines the context used during the insertion.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>hints()Return the map of hints to use for response body conversion.List<HttpMessageWriter<?>>messageWriters()Return theHttpMessageWritersto be used for response body conversion.Optional<ServerHttpRequest>serverRequest()Optionally return theServerHttpRequest, if present.
Method Detail
messageWriters
List<HttpMessageWriter<?>> messageWriters()
Return theHttpMessageWritersto be used for response body conversion.- Returns:
- the stream of message writers
serverRequest
Optional<ServerHttpRequest> serverRequest()
Optionally return theServerHttpRequest, if present.