public class HttpEntityArgumentResolver extends AbstractMessageReaderArgumentResolver
HttpEntity or RequestEntity
by reading the body of the request through a compatible
HttpMessageReader.| Constructor and Description |
|---|
HttpEntityArgumentResolver(List<HttpMessageReader<?>> readers,
ReactiveAdapterRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Object> |
resolveArgument(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange)
Resolve the value for the method parameter.
|
boolean |
supportsParameter(MethodParameter parameter)
Whether this resolver supports the given method parameter.
|
getMessageReaders, readBody, readBodycheckAnnotatedParamNoReactiveWrapper, checkParameterType, checkParameterTypeNoReactiveWrapper, getAdapterRegistrypublic HttpEntityArgumentResolver(List<HttpMessageReader<?>> readers, ReactiveAdapterRegistry registry)
public boolean supportsParameter(MethodParameter parameter)
HandlerMethodArgumentResolverparameter - the method parameterpublic reactor.core.publisher.Mono<Object> resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)
HandlerMethodArgumentResolverparameter - the method parameterbindingContext - the binding context to useexchange - the current exchangeMono for the argument value, possibly empty