Package org.springframework.web.bind.annotation


@NonNullApi @NonNullFields package org.springframework.web.bind.annotation
Annotations for binding requests to controllers and handler methods as well as for binding request parameters to method arguments.
  • Class
    Description
    Specialization of @Component for classes that declare @ExceptionHandler, @InitBinder, or @ModelAttribute methods to be shared across multiple @Controller classes.
    Annotation to indicate that a method parameter is bound to an HTTP cookie.
    Annotation for permitting cross-origin requests on specific handler classes and/or handler methods.
    Annotation for mapping HTTP DELETE requests onto specific handler methods.
    Annotation for handling exceptions in specific handler classes and/or handler methods.
    Annotation for mapping HTTP GET requests onto specific handler methods.
    Annotation that identifies methods that initialize the WebDataBinder which will be used for populating command and form object arguments of annotated handler methods.
    Meta annotation that indicates a web mapping annotation.
    Annotation which indicates that a method parameter should be bound to a name-value pair within a path segment.
    Annotation that binds a method parameter or method return value to a named model attribute, exposed to a web view.
    Annotation for mapping HTTP PATCH requests onto specific handler methods.
    Annotation which indicates that a method parameter should be bound to a URI template variable.
    Annotation for mapping HTTP POST requests onto specific handler methods.
    Annotation for mapping HTTP PUT requests onto specific handler methods.
    Annotation to bind a method parameter to a request attribute.
    Annotation indicating a method parameter should be bound to the body of the web request.
    Annotation which indicates that a method parameter should be bound to a web request header.
    Annotation for mapping web requests onto methods in request-handling classes with flexible method signatures.
    Enumeration of HTTP request methods.
    Annotation which indicates that a method parameter should be bound to a web request parameter.
    Annotation that can be used to associate the part of a "multipart/form-data" request with a method argument.
    Annotation that indicates a method return value should be bound to the web response body.
    Marks a method or exception class with the status ResponseStatus.code() and ResponseStatus.reason() that should be returned.
    A convenience annotation that is itself annotated with @Controller and @ResponseBody.
    A convenience annotation that is itself annotated with @ControllerAdvice and @ResponseBody.
    Annotation to bind a method parameter to a session attribute.
    Annotation that indicates the session attributes that a specific handler uses.
    Common value constants shared between bind annotations.