Top Description Methods
org.springframework.web.reactive.result.method

public Interface HandlerMethodArgumentResolver

Known Direct Subinterfaces
org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolver
Known Direct Implementers
org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverComposite, org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupport, org.springframework.web.reactive.result.method.annotation.ContinuationHandlerMethodArgumentResolver
Imports
reactor.core.publisher.Mono, org.springframework.core.MethodParameter, org.springframework.web.reactive.BindingContext, org.springframework.web.server.ServerWebExchange

Strategy to resolve the argument value for a method parameter in the context of the current HTTP request.
Author
Rossen Stoyanchev
Since
5.0

Method Summary

Modifier and TypeMethod and Description
public Mono<Object>

Returns:

Mono for the argument value, possibly empty
resolveArgument
(MethodParameter
the method parameter
parameter
,
BindingContext
the binding context to use
bindingContext
,
ServerWebExchange
the current exchange
exchange
)

Resolve the value for the method parameter.

public boolean
supportsParameter(MethodParameter
the method parameter
parameter
)

Whether this resolver supports the given method parameter.

Method Detail

resolveArgumentback to summary
public Mono<Object> resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)

Resolve the value for the method parameter.

Parameters
parameter:MethodParameter

the method parameter

bindingContext:BindingContext

the binding context to use

exchange:ServerWebExchange

the current exchange

Returns:Mono<Object>

Mono for the argument value, possibly empty

supportsParameterback to summary
public boolean supportsParameter(MethodParameter parameter)

Whether this resolver supports the given method parameter.

Parameters
parameter:MethodParameter

the method parameter