public class PathVariableMapMethodArgumentResolver extends HandlerMethodArgumentResolverSupport implements SyncHandlerMethodArgumentResolver
Map method arguments also annotated with
@PathVariable where the annotation does not specify a
path variable name. The resulting Map argument is a coyp of all URI
template name-value pairs.PathVariableMethodArgumentResolver| Constructor and Description |
|---|
PathVariableMapMethodArgumentResolver(ReactiveAdapterRegistry adapterRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Object |
resolveArgumentValue(MethodParameter methodParameter,
BindingContext context,
ServerWebExchange exchange)
Resolve the value for the method parameter synchronously.
|
boolean |
supportsParameter(MethodParameter parameter)
Whether this resolver supports the given method parameter.
|
checkAnnotatedParamNoReactiveWrapper, checkParameterType, checkParameterTypeNoReactiveWrapper, getAdapterRegistryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveArgumentpublic PathVariableMapMethodArgumentResolver(ReactiveAdapterRegistry adapterRegistry)
public boolean supportsParameter(MethodParameter parameter)
HandlerMethodArgumentResolversupportsParameter in interface HandlerMethodArgumentResolverparameter - the method parameterpublic Object resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange)
SyncHandlerMethodArgumentResolverresolveArgumentValue in interface SyncHandlerMethodArgumentResolvermethodParameter - the method parametercontext - the binding context to useexchange - the current exchange