程序包 cn.taketoday.web.bind.resolver
package cn.taketoday.web.bind.resolver
Request context parameter resolvers
- 作者:
- TODAY 2021/9/23 21:53
-
类说明A base class for resolving method argument values by reading from the body of a request with
HttpMessageConverters.ExtendsAbstractMessageConverterMethodArgumentResolverwith the ability to handle method return values by writing to the response withHttpMessageConverters.Abstract base class for resolving method arguments from a named value.ResolvesErrorsmethod arguments.Resolves method arguments annotated with@Value.ResolvesHttpEntityandRequestEntitymethod argument values and also handlesHttpEntityandResponseEntityreturn values.ResolvesMap<String, Object> modelmethod arguments and handlesMapreturn values.Resolves arguments of typeMapannotated with@MatrixParamwhere the annotation does not specify a name.Resolves arguments annotated with@MatrixParam.RequestBindingExceptionsubclass that indicates that a request cookie expected in the method parameters of an@RequestMappingmethod is not present.RequestBindingExceptionsubclass that indicates that a request header expected in the method parameters of an@RequestMappingmethod is not present.Raised when the part of a "multipart/form-data" request identified by its name cannot be found.ResolvesModelarguments and handlesModelreturn values.A common delegate forParameterResolvingStrategyimplementations which need to resolveMultipartFileandPartarguments.Parameter can't convert to target classParameter read failedForParameterResolvingStrategyNotFound ExceptionParameterResolvingStrategy registryComposite ParameterResolvingStrategyStrategy interface for method parameter resolving.ResolvesMapmethod arguments annotated with an @PathVariablewhere the annotation does not specify a path variable name.Resolves method arguments annotated with an @PathVariable.Resolves an argument of typePrincipal, similar toServletRequestMethodArgumentResolverbut irrespective of whether the argument is annotated or not.Resolves servlet backed request-related method arguments.ResolvesMapmethod arguments annotated with@RequestHeader.Resolves method arguments annotated with@RequestHeaderexcept forMaparguments.ResolvesMapmethod arguments annotated with an @RequestParamwhere the annotation does not specify a request parameter name.Resolves method arguments annotated with @RequestParam, arguments of typeMultipartFilein conjunction withMultipartRequestabstraction, and arguments of typejakarta.servlet.http.Partin conjunction with Servlet multipart requests.Resolves the following method arguments: Annotated with @RequestPartOf typeMultipartFileOf typejakarta.servlet.http.Partin conjunction with Servlet multipart requestsHttpRequestimplementation that accesses one part of a multipart request.InvokesRequestBodyAdviceandResponseBodyAdvicewhere each instance may be (and is most likely) wrapped withControllerAdviceBean.Resolves method arguments annotated with@RequestBodyand handles return values from methods annotated with@ResponseBodyby reading and writing to the body of the request or response with anHttpMessageConverter.Resolves servlet backed request-related method arguments.Resolves aSessionStatusargument by obtaining it from theBindingContext.Resolvers argument values of typeUriComponentsBuilder.