Interface HandlerMethodArgumentResolver
- All Known Subinterfaces:
SyncHandlerMethodArgumentResolver
- All Known Implementing Classes:
AbstractMessageReaderArgumentResolver
,AbstractNamedValueArgumentResolver
,AbstractNamedValueSyncArgumentResolver
,ContinuationHandlerMethodArgumentResolver
,CookieValueMethodArgumentResolver
,ErrorsMethodArgumentResolver
,ExpressionValueMethodArgumentResolver
,HandlerMethodArgumentResolverSupport
,HttpEntityMethodArgumentResolver
,MatrixVariableMapMethodArgumentResolver
,MatrixVariableMethodArgumentResolver
,ModelAttributeMethodArgumentResolver
,ModelMethodArgumentResolver
,PathVariableMapMethodArgumentResolver
,PathVariableMethodArgumentResolver
,PrincipalMethodArgumentResolver
,RequestAttributeMethodArgumentResolver
,RequestBodyMethodArgumentResolver
,RequestHeaderMapMethodArgumentResolver
,RequestHeaderMethodArgumentResolver
,RequestParamMapMethodArgumentResolver
,RequestParamMethodArgumentResolver
,RequestPartMethodArgumentResolver
,ServerWebExchangeMethodArgumentResolver
,SessionAttributeMethodArgumentResolver
,SessionStatusMethodArgumentResolver
,WebSessionMethodArgumentResolver
public interface HandlerMethodArgumentResolver
Strategy to resolve the argument value for a method parameter in the context
of the current HTTP request.
- Since:
- 5.0
- Author:
- Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionreactor.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.
-
Method Details
-
supportsParameter
Whether this resolver supports the given method parameter.- Parameters:
parameter
- the method parameter
-
resolveArgument
reactor.core.publisher.Mono<Object> resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) Resolve the value for the method parameter.- Parameters:
parameter
- the method parameterbindingContext
- the binding context to useexchange
- the current exchange- Returns:
Mono
for the argument value, possibly empty
-