Uses of Package
org.springframework.web.servlet.mvc.method.annotation
Package
Description
Annotation-based setup for Spring MVC.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.-
ClassDescriptionAn
AbstractHandlerMethodExceptionResolver
that resolves exceptions through@ExceptionHandler
methods.CreatesRequestMappingInfo
instances from type-level and method-level@RequestMapping
and@HttpExchange
annotations in@Controller
classes. -
ClassDescriptionA convenient base class for
ResponseBodyAdvice
implementations that customize the response before JSON serialization withAbstractJackson2HttpMessageConverter
's concrete subclasses.A base class for resolving method argument values by reading from the body of a request withHttpMessageConverters
.ExtendsAbstractMessageConverterMethodArgumentResolver
with the ability to handle method return values by writing to the response withHttpMessageConverters
.Creates instances ofUriComponentsBuilder
by pointing to@RequestMapping
methods on Spring MVC controllers.Builder class to create URLs for method arguments.Allows customizing the request before its body is read and converted into an Object and also allows for processing of the resulting Object before it is passed into a controller method as an@RequestBody
or anHttpEntity
method argument.A convenient starting point for implementingRequestBodyAdvice
with default method implementations.Allows customizing the response after the execution of an@ResponseBody
or aResponseEntity
controller method but before the body is written with anHttpMessageConverter
.A controller method return value type for asynchronous request processing where one or more objects are written to the response.A simple holder of data to be written along with a MediaType hint for selecting a message converter to write with.ExtendsInvocableHandlerMethod
with the ability to handle return values through a registeredHandlerMethodReturnValueHandler
and also supports setting the response status based on a method-level@ResponseStatus
annotation.A builder for an SSE event.