Class MatrixVariableMapMethodArgumentResolver
java.lang.Object
org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupport
org.springframework.web.reactive.result.method.annotation.MatrixVariableMapMethodArgumentResolver
- All Implemented Interfaces:
- HandlerMethodArgumentResolver,- SyncHandlerMethodArgumentResolver
public class MatrixVariableMapMethodArgumentResolver
extends HandlerMethodArgumentResolverSupport
implements SyncHandlerMethodArgumentResolver
Resolves arguments of type 
Map annotated with @MatrixVariable
 where the annotation does not specify a name. In other words the purpose of this resolver
 is to provide access to multiple matrix variables, either all or associated with a specific
 path variable.
 When a name is specified, an argument of type Map is considered to be a single attribute
 with a Map value, and is resolved by MatrixVariableMethodArgumentResolver instead.
- Since:
- 5.0.1
- Author:
- Rossen Stoyanchev
- See Also:
- 
Field SummaryFields inherited from class org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupportlogger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionresolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) Resolve the value for the method parameter synchronously.booleansupportsParameter(MethodParameter parameter) Whether this resolver supports the given method parameter.Methods inherited from class org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupportcheckAnnotatedParamNoReactiveWrapper, checkParameterType, checkParameterTypeNoReactiveWrapper, getAdapterRegistryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolverresolveArgument
- 
Constructor Details- 
MatrixVariableMapMethodArgumentResolver
 
- 
- 
Method Details- 
supportsParameterDescription copied from interface:HandlerMethodArgumentResolverWhether this resolver supports the given method parameter.- Specified by:
- supportsParameterin interface- HandlerMethodArgumentResolver
- Parameters:
- parameter- the method parameter
 
- 
resolveArgumentValuepublic @Nullable Object resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) Description copied from interface:SyncHandlerMethodArgumentResolverResolve the value for the method parameter synchronously.- Specified by:
- resolveArgumentValuein interface- SyncHandlerMethodArgumentResolver
- Parameters:
- parameter- the method parameter
- bindingContext- the binding context to use
- exchange- the current exchange
- Returns:
- the resolved value, if any
 
 
-