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