Package | Description |
---|---|
org.springframework.web.bind.annotation |
Annotations for binding requests to controllers and handler methods
as well as for binding request parameters to method arguments.
|
org.springframework.web.method |
Common infrastructure for handler method processing, as used by
Spring MVC's
org.springframework.web.servlet.mvc.method package. |
Class and Description |
---|
ControllerAdvice
Specialization of
@Component for classes that declare
@ExceptionHandler , @InitBinder , or
@ModelAttribute methods to be shared across
multiple @Controller classes. |
Mapping
Meta annotation that indicates a web mapping annotation.
|
RequestMapping
Annotation for mapping web requests onto methods in request-handling classes
with flexible method signatures.
|
RequestMethod
Enumeration of HTTP request methods.
|
ResponseBody
Annotation that indicates a method return value should be bound to the web
response body.
|
Class and Description |
---|
ControllerAdvice
Specialization of
@Component for classes that declare
@ExceptionHandler , @InitBinder , or
@ModelAttribute methods to be shared across
multiple @Controller classes. |