Interface BodyExtractor.Context
- Enclosing interface:
- BodyExtractor<T,
M extends org.springframework.http.ReactiveHttpInputMessage>
public static interface BodyExtractor.Context
Defines the context used during the extraction.
-
Method Summary
Modifier and TypeMethodDescriptionhints()
Return the map of hints to use to customize body extraction.List<org.springframework.http.codec.HttpMessageReader<?>>
Return theHttpMessageReaders
to be used for body extraction.Optional<org.springframework.http.server.reactive.ServerHttpResponse>
Optionally return theServerHttpResponse
, if present.
-
Method Details
-
messageReaders
List<org.springframework.http.codec.HttpMessageReader<?>> messageReaders()Return theHttpMessageReaders
to be used for body extraction.- Returns:
- the list of message readers
-
serverResponse
Optional<org.springframework.http.server.reactive.ServerHttpResponse> serverResponse()Optionally return theServerHttpResponse
, if present. -
hints
Return the map of hints to use to customize body extraction.
-