Spring Framework

Package org.springframework.web.servlet.mvc.method.annotation

MVC infrastructure for annotation-based handler method processing, building on the org.springframework.web.method.annotation package.


Class Summary
AbstractMessageConverterMethodArgumentResolver A base class for resolving method argument values by reading from the body of a request with HttpMessageConverters.
AbstractMessageConverterMethodProcessor Extends AbstractMessageConverterMethodArgumentResolver with the ability to handle method return values by writing to the response with HttpMessageConverters.
AsyncMethodReturnValueHandler Handles return values of type Callable and DeferredResult.
ExceptionHandlerExceptionResolver An AbstractHandlerMethodExceptionResolver that resolves exceptions through @ExceptionHandler methods.
ExtendedServletRequestDataBinder Subclass of ServletRequestDataBinder that adds URI template variables to the values used for data binding.
HttpEntityMethodProcessor Resolves HttpEntity method argument values and also handles both HttpEntity and ResponseEntity return values.
ModelAndViewMethodReturnValueHandler Handles return values of type ModelAndView copying view and model information to the ModelAndViewContainer.
ModelAndViewResolverMethodReturnValueHandler This return value handler is intended to be ordered after all others as it attempts to handle _any_ return value type (i.e.
PathVariableMapMethodArgumentResolver Resolves Map method arguments annotated with an @PathVariable where the annotation does not specify a path variable name.
PathVariableMethodArgumentResolver Resolves method arguments annotated with an @PathVariable.
RedirectAttributesMethodArgumentResolver Resolves method arguments of type RedirectAttributes.
RequestMappingHandlerAdapter An AbstractHandlerMethodAdapter that supports HandlerMethods with the signature -- method argument and return types, defined in @RequestMapping.
RequestMappingHandlerMapping Creates RequestMappingInfo instances from type and method-level @RequestMapping annotations in @Controller classes.
RequestPartMethodArgumentResolver Resolves the following method arguments: Annotated with @RequestPart Of type MultipartFile in conjunction with Spring's MultipartResolver abstraction Of type javax.servlet.http.Part in conjunction with Servlet 3.0 multipart requests
RequestResponseBodyMethodProcessor Resolves method arguments annotated with @RequestBody and handles return values from methods annotated with @ResponseBody by reading and writing to the body of the request or response with an HttpMessageConverter.
ServletCookieValueMethodArgumentResolver An AbstractCookieValueMethodArgumentResolver that resolves cookie values from an HttpServletRequest.
ServletInvocableHandlerMethod Extends InvocableHandlerMethod with the ability to handle return values through a registered HandlerMethodReturnValueHandler and also supports setting the response status based on a method-level @ResponseStatus annotation.
ServletModelAttributeMethodProcessor A Servlet-specific ModelAttributeMethodProcessor that applies data binding through a WebDataBinder of type ServletRequestDataBinder.
ServletRequestDataBinderFactory Creates a ServletRequestDataBinder.
ServletRequestMethodArgumentResolver Resolves request-related method argument values of the following types: WebRequest ServletRequest MultipartRequest HttpSession Principal Locale InputStream Reader
ServletResponseMethodArgumentResolver Resolves response-related method argument values of types: ServletResponse OutputStream Writer
ServletWebArgumentResolverAdapter A Servlet-specific AbstractWebArgumentResolverAdapter that creates a NativeWebRequest from ServletRequestAttributes.
UriComponentsBuilderMethodArgumentResolver Resolvers argument values of type UriComponentsBuilder.
ViewMethodReturnValueHandler Handles return values that are of type View.
ViewNameMethodReturnValueHandler Handles return values of types void and String interpreting them as view name reference.

Package org.springframework.web.servlet.mvc.method.annotation Description

MVC infrastructure for annotation-based handler method processing, building on the org.springframework.web.method.annotation package. Entry points are RequestMappingHandlerMapping and RequestMappingHandlerAdapter.

Spring Framework