Package org.springframework.web.method.annotation
Support classes for annotation-based handler method processing.
Class Summary Class Description AbstractCookieValueMethodArgumentResolver A base abstract class to resolve method arguments annotated with@CookieValue.AbstractNamedValueMethodArgumentResolver Abstract base class for resolving method arguments from a named value.AbstractNamedValueMethodArgumentResolver.NamedValueInfo Represents the information about a named value, including name, whether it's required and a default value.AbstractWebArgumentResolverAdapter An abstract base class adapting aWebArgumentResolverto theHandlerMethodArgumentResolvercontract.ErrorsMethodArgumentResolver ResolvesErrorsmethod arguments.ExceptionHandlerMethodResolver Discovers @ExceptionHandler methods in a given class, including all of its superclasses, and helps to resolve a givenExceptionto the exception types supported by a givenMethod.ExpressionValueMethodArgumentResolver Resolves method arguments annotated with@Value.InitBinderDataBinderFactory Adds initialization to a WebDataBinder via@InitBindermethods.MapMethodProcessor ModelAttributeMethodProcessor Resolve@ModelAttributeannotated method arguments and handle return values from@ModelAttributeannotated methods.ModelFactory Assist with initialization of theModelbefore controller method invocation and with updates to it after the invocation.ModelMethodProcessor RequestHeaderMapMethodArgumentResolver ResolvesMapmethod arguments annotated with@RequestHeader.RequestHeaderMethodArgumentResolver Resolves method arguments annotated with@RequestHeaderexcept forMaparguments.RequestParamMapMethodArgumentResolver ResolvesMapmethod arguments annotated with an @RequestParamwhere the annotation does not specify a request parameter name.RequestParamMethodArgumentResolver Resolves method arguments annotated with @RequestParam, arguments of typeMultipartFilein conjunction with Spring'sMultipartResolverabstraction, and arguments of typejavax.servlet.http.Partin conjunction with Servlet 3.0 multipart requests.SessionAttributesHandler Manages controller-specific session attributes declared via@SessionAttributes.SessionStatusMethodArgumentResolver Resolves aSessionStatusargument by obtaining it from theModelAndViewContainer.Exception Summary Exception Description MethodArgumentConversionNotSupportedException A ConversionNotSupportedException raised while resolving a method argument.MethodArgumentTypeMismatchException A TypeMismatchException raised while resolving a controller method argument.