类 PathVariableMapMethodArgumentResolver
- java.lang.Object
- org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupport
- org.springframework.web.reactive.result.method.annotation.PathVariableMapMethodArgumentResolver
public class PathVariableMapMethodArgumentResolver extends HandlerMethodArgumentResolverSupport implements SyncHandlerMethodArgumentResolver
Resolver forMapmethod arguments also annotated with@PathVariablewhere the annotation does not specify a path variable name. The resultingMapargument is a coyp of all URI template name-value pairs.- 从以下版本开始:
- 5.0
- 作者:
- Rossen Stoyanchev
- 另请参阅:
PathVariableMethodArgumentResolver
字段概要
从类继承的字段 org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupport
logger
构造器概要
构造器 构造器 说明 PathVariableMapMethodArgumentResolver(ReactiveAdapterRegistry adapterRegistry)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ObjectresolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange)Resolve the value for the method parameter synchronously.booleansupportsParameter(MethodParameter parameter)Whether this resolver supports the given method parameter.从类继承的方法 org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupport
checkAnnotatedParamNoReactiveWrapper, checkParameterType, checkParameterTypeNoReactiveWrapper, getAdapterRegistry
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolver
resolveArgument
构造器详细资料
PathVariableMapMethodArgumentResolver
public PathVariableMapMethodArgumentResolver(ReactiveAdapterRegistry adapterRegistry)
方法详细资料
supportsParameter
public boolean supportsParameter(MethodParameter parameter)
从接口复制的说明:HandlerMethodArgumentResolverWhether this resolver supports the given method parameter.- 指定者:
supportsParameter在接口中HandlerMethodArgumentResolver- 参数:
parameter- the method parameter
resolveArgumentValue
public Object resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange)
从接口复制的说明:SyncHandlerMethodArgumentResolverResolve the value for the method parameter synchronously.- 指定者:
resolveArgumentValue在接口中SyncHandlerMethodArgumentResolver- 参数:
methodParameter- the method parametercontext- the binding context to useexchange- the current exchange- 返回:
- the resolved value, if any