T
- the type of data to extractM
- the type of ReactiveHttpInputMessage
this extractor can be applied to@FunctionalInterface
public interface BodyExtractor<T,M extends ReactiveHttpInputMessage>
ReactiveHttpInputMessage
body.BodyExtractors
Modifier and Type | Interface and Description |
---|---|
static interface |
BodyExtractor.Context
Defines the context used during the extraction.
|
Modifier and Type | Method and Description |
---|---|
T |
extract(M inputMessage,
BodyExtractor.Context context)
Extract from the given input message.
|
T extract(M inputMessage, BodyExtractor.Context context)
inputMessage
- the request to extract fromcontext
- the configuration to use