| Package | Description |
|---|---|
| org.springframework.test.web.servlet.setup |
Contains built-in
MockMvcBuilder implementations. |
| org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
| 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 and Description |
|---|
| RequestMappingHandlerMapping
Creates
RequestMappingInfo instances from type and method-level
@RequestMapping annotations in
@Controller classes. |
| Class and Description |
|---|
| ExceptionHandlerExceptionResolver
An
AbstractHandlerMethodExceptionResolver that resolves exceptions
through @ExceptionHandler methods. |
| RequestMappingHandlerAdapter |
| RequestMappingHandlerMapping
Creates
RequestMappingInfo instances from type and method-level
@RequestMapping annotations in
@Controller classes. |
| Class and Description |
|---|
| AbstractMappingJacksonResponseBodyAdvice
A convenient base class for
ResponseBodyAdvice implementations
that customize the response before JSON serialization with
AbstractJackson2HttpMessageConverter's concrete subclasses. |
| 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. |
| MvcUriComponentsBuilder
Creates instances of
UriComponentsBuilder
by pointing to @RequestMapping methods on Spring MVC controllers. |
| MvcUriComponentsBuilder.MethodArgumentBuilder |
| RequestBodyAdvice
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 an
HttpEntity method argument. |
| RequestBodyAdviceAdapter
A convenient starting point for implementing
ResponseBodyAdvice with default method implementations. |
| ResponseBodyAdvice
Allows customizing the response after the execution of an
@ResponseBody
or a ResponseEntity controller method but before the body is written
with an HttpMessageConverter. |
| ResponseBodyEmitter
A controller method return value type for asynchronous request processing
where one or more objects are written to the response.
|
| ResponseBodyEmitter.DataWithMediaType
A simple holder of data to be written along with a MediaType hint for
selecting a message converter to write with.
|
| 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. |
| SseEmitter.SseEventBuilder
A builder for an SSE event.
|