Contents
Interface BodyInserter.Context
- Enclosing interface:
BodyInserter<T, M extends ReactiveHttpOutputMessage>
public static interface BodyInserter.Context
Defines the context used during the insertion.
- Since:
- 5.0
- Author:
- Arjen Poutsma
-
Method Summary
Modifier and TypeMethodDescriptionhints()
Return the map of hints to use for response body conversion.Return theHttpMessageWriters
to be used for response body conversion.Optionally return theServerHttpRequest
, if present.
-
Method Details
-
messageWriters
List<HttpMessageWriter<?>> messageWriters()Return theHttpMessageWriters
to be used for response body conversion.- Returns:
- the stream of message writers
-
serverRequest
Optional<ServerHttpRequest> serverRequest()Optionally return theServerHttpRequest
, if present. -
hints
-