接口的使用
org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolver
使用SyncHandlerMethodArgumentResolver的程序包 程序包 说明 org.springframework.web.reactive.result.method Infrastructure for handler method processing.org.springframework.web.reactive.result.method.annotation Infrastructure for annotation-based handler method processing.org.springframework.web.reactive.result.method中SyncHandlerMethodArgumentResolver的使用
返回变量类型为SyncHandlerMethodArgumentResolver的类型的org.springframework.web.reactive.result.method中的方法 修饰符和类型 方法 说明 List<SyncHandlerMethodArgumentResolver>SyncInvocableHandlerMethod. getResolvers()Return the configured argument resolvers.类型变量类型为SyncHandlerMethodArgumentResolver的org.springframework.web.reactive.result.method中的方法参数 修饰符和类型 方法 说明 voidSyncInvocableHandlerMethod. setArgumentResolvers(List<SyncHandlerMethodArgumentResolver> resolvers)Configure the argument resolvers to use to use for resolving method argument values against aServerWebExchange.org.springframework.web.reactive.result.method.annotation中SyncHandlerMethodArgumentResolver的使用
实现SyncHandlerMethodArgumentResolver的org.springframework.web.reactive.result.method.annotation中的类 修饰符和类型 类 说明 classAbstractNamedValueSyncArgumentResolverAn extension ofAbstractNamedValueArgumentResolverfor named value resolvers that are synchronous and yet non-blocking.classCookieValueMethodArgumentResolverResolve method arguments annotated with@CookieValue.classExpressionValueMethodArgumentResolverResolves method arguments annotated with@Value.classMatrixVariableMapMethodArgumentResolverResolves arguments of typeMapannotated with@MatrixVariablewhere the annotation does not specify a name.classMatrixVariableMethodArgumentResolverResolves arguments annotated with@MatrixVariable.classModelMethodArgumentResolverclassPathVariableMapMethodArgumentResolverResolver forMapmethod arguments also annotated with@PathVariablewhere the annotation does not specify a path variable name.classPathVariableMethodArgumentResolverResolves method arguments annotated with @PathVariable.classRequestAttributeMethodArgumentResolverResolves method arguments annotated with an @RequestAttribute.classRequestHeaderMapMethodArgumentResolverResolvesMapmethod arguments annotated with@RequestHeader.classRequestHeaderMethodArgumentResolverResolves method arguments annotated with@RequestHeaderexcept forMaparguments.classRequestParamMapMethodArgumentResolverResolver forMapmethod arguments annotated with@RequestParamwhere the annotation does not specify a request parameter name.classRequestParamMethodArgumentResolverResolver for method arguments annotated with @RequestParamfrom URI query string parameters.classServerWebExchangeMethodArgumentResolverResolves ServerWebExchange-related method argument values of the following types:ServerWebExchangeServerHttpRequestServerHttpResponseHttpMethodLocaleTimeZoneZoneIdUriBuilderorUriComponentsBuilder-- for building URL's relative to the current requestclassSessionStatusMethodArgumentResolverResolver for aSessionStatusargument obtaining it from theBindingContext.