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.reactive.result.condition |
RequestCondition
and implementations for matching requests based on different criteria. |
org.springframework.web.reactive.result.method |
Infrastructure for handler method processing.
|
org.springframework.web.reactive.result.method.annotation |
Infrastructure for annotation-based handler method processing.
|
org.springframework.web.servlet.mvc.annotation |
Support package for annotation-based Servlet MVC controllers.
|
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 |
---|
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
Java 5 enumeration of HTTP request methods.
|
ResponseBody
Annotation that indicates a method return value should be bound to the web
response body.
|
Class and Description |
---|
RequestMethod
Java 5 enumeration of HTTP request methods.
|
Class and Description |
---|
RequestMethod
Java 5 enumeration of HTTP request methods.
|
Class and Description |
---|
RequestMapping
Annotation for mapping web requests onto methods in request-handling classes
with flexible method signatures.
|
Class and Description |
---|
ResponseStatus
Marks a method or exception class with the status
ResponseStatus.code() and
ResponseStatus.reason() that should be returned. |
Class and Description |
---|
ExceptionHandler
Annotation for handling exceptions in specific handler classes and/or
handler methods.
|