程序包的使用
org.springframework.web.method.annotation
使用org.springframework.web.method.annotation的程序包 程序包 说明 org.springframework.web.method.annotation Support classes for annotation-based handler method processing.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotationpackage.org.springframework.web.method.annotation使用的org.springframework.web.method.annotation中的类 类 说明 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.SessionAttributesHandler Manages controller-specific session attributes declared via@SessionAttributes.org.springframework.web.servlet.mvc.method.annotation使用的org.springframework.web.method.annotation中的类 类 说明 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.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.InitBinderDataBinderFactory Adds initialization to a WebDataBinder via@InitBindermethods.ModelAttributeMethodProcessor Resolve@ModelAttributeannotated method arguments and handle return values from@ModelAttributeannotated methods.