org.springframework.web.reactive.result.method.annotation

## Class HttpEntityMethodArgumentResolver

- java.lang.Object
- - org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupport
  - - org.springframework.web.reactive.result.method.annotation.AbstractMessageReaderArgumentResolver
    - - org.springframework.web.reactive.result.method.annotation.HttpEntityMethodArgumentResolver

- All Implemented Interfaces:
    HandlerMethodArgumentResolver

      public class HttpEntityMethodArgumentResolver
      extends AbstractMessageReaderArgumentResolver

  Resolves method arguments of type `HttpEntity` or `RequestEntity` by reading the body of the request through a compatible `HttpMessageReader`.
  Since:
    5.2
  Author:
    Rossen Stoyanchev

- - ### Field Summary

    - ### Fields inherited from class org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupport

      `logger`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HttpEntityMethodArgumentResolver(List<HttpMessageReader<?>> readers, ReactiveAdapterRegistry registry)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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.

    - ### Methods inherited from class org.springframework.web.reactive.result.method.annotation.AbstractMessageReaderArgumentResolver

      `getMessageReaders, readBody, readBody`

    - ### Methods inherited from class org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupport

      `checkAnnotatedParamNoReactiveWrapper, checkParameterType, checkParameterTypeNoReactiveWrapper, getAdapterRegistry`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HttpEntityMethodArgumentResolver

          public HttpEntityMethodArgumentResolver(List<HttpMessageReader<?>> readers,
                                                  ReactiveAdapterRegistry registry)

  - ### Method Detail

    - #### supportsParameter

          public boolean supportsParameter(MethodParameter parameter)

      Description copied from interface: `HandlerMethodArgumentResolver`
      Whether this resolver supports the given method parameter.
      Parameters:
        `parameter` - the method parameter

    - #### resolveArgument

          public reactor.core.publisher.Mono<Object> resolveArgument(MethodParameter parameter,
                                                                     BindingContext bindingContext,
                                                                     ServerWebExchange exchange)

      Description copied from interface: `HandlerMethodArgumentResolver`
      Resolve the value for the method parameter.
      Parameters:
        `parameter` - the method parameter
        `bindingContext` - the binding context to use
        `exchange` - the current exchange
      Returns:
        `Mono` for the argument value, possibly empty