abstract class AbstractJsonpResponseBodyAdvice : AbstractMappingJacksonResponseBodyAdvice
A convenient base class for a Sub-classes must specify the query parameter name(s) to check for the name of the JSONP callback function. Sub-classes are likely to be annotated with the |
|
open class AsyncTaskMethodReturnValueHandler : HandlerMethodReturnValueHandler
Handles return values of type WebAsyncTask. |
|
open class CallableMethodReturnValueHandler : HandlerMethodReturnValueHandler
Handles return values of type Callable. |
|
open class DeferredResultMethodReturnValueHandler : HandlerMethodReturnValueHandler
Handler for return values of type DeferredResult, ListenableFuture, and CompletionStage. |
|
open class ExtendedServletRequestDataBinder : ServletRequestDataBinder
Subclass of ServletRequestDataBinder that adds URI template variables to the values used for data binding. |
|
open class HttpEntityMethodProcessor : AbstractMessageConverterMethodProcessor
Resolves HttpEntity and RequestEntity method argument values and also handles HttpEntity and ResponseEntity return values. An HttpEntity return type has a specific purpose. Therefore this handler should be configured ahead of handlers that support any return value type annotated with |
|
open class HttpHeadersReturnValueHandler : HandlerMethodReturnValueHandler
Handles HttpHeaders return values. |
|
open class JsonViewRequestBodyAdvice : RequestBodyAdviceAdapter
A RequestBodyAdvice implementation that adds support for Jackson's The deserialization view specified in the annotation will be passed in to the org.springframework.http.converter.json.MappingJackson2HttpMessageConverter which will then use it to deserialize the request body with. Note that despite |
|
open class JsonViewResponseBodyAdvice : AbstractMappingJacksonResponseBodyAdvice
A ResponseBodyAdvice implementation that adds support for Jackson's The serialization view specified in the annotation will be passed in to the org.springframework.http.converter.json.MappingJackson2HttpMessageConverter which will then use it to serialize the response body. Note that despite |
|
open class MatrixVariableMapMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves arguments of type Map annotated with where |
|
open class MatrixVariableMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver
Resolves arguments annotated with MatrixVariable. If the method parameter is of type Map it will by resolved by MatrixVariableMapMethodArgumentResolver instead unless the annotation specifies a name in which case it is considered to be a single attribute of type map (vs multiple attributes collected in a map). |
|
open class ModelAndViewMethodReturnValueHandler : HandlerMethodReturnValueHandler
Handles return values of type ModelAndView copying view and model information to the ModelAndViewContainer. If the return value is A ModelAndView return type has a set purpose. Therefore this handler should be configured ahead of handlers that support any return value type annotated with |
|
open class ModelAndViewResolverMethodReturnValueHandler : HandlerMethodReturnValueHandler
This return value handler is intended to be ordered after all others as it attempts to handle _any_ return value type (i.e. returns The return value is handled either with a ModelAndViewResolver or otherwise by regarding it as a model attribute if it is a non-simple type. If neither of these succeeds (essentially simple type other than String), UnsupportedOperationException is raised. Note: This class is primarily needed to support ModelAndViewResolver, which unfortunately cannot be properly adapted to the HandlerMethodReturnValueHandler contract since the |
|
open class PathVariableMapMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves Map method arguments annotated with an @PathVariable where the annotation does not specify a path variable name. The created Map contains all URI template name/value pairs. |
|
open class PathVariableMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver, UriComponentsContributor
Resolves method arguments annotated with an @PathVariable. An @PathVariable is a named value that gets resolved from a URI template variable. It is always required and does not have a default value to fall back on. See the base class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver for more information on how named values are processed. If the method parameter type is Map, the name specified in the annotation is used to resolve the URI variable String value. The value is then converted to a Map via type conversion, assuming a suitable Converter or PropertyEditor has been registered. A WebDataBinder is invoked to apply type conversion to resolved path variable values that don't yet match the method parameter type. |
|
open class RedirectAttributesMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves method arguments of type RedirectAttributes. This resolver must be listed ahead of org.springframework.web.method.annotation.ModelMethodProcessor and org.springframework.web.method.annotation.MapMethodProcessor, which support Map and Model arguments both of which are "super" types of |
|
open class RequestAttributeMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver
Resolves method arguments annotated with an @RequestAttribute. |
|
interface 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 Implementations of this contract may be registered directly with the |
|
open class RequestPartMethodArgumentResolver : AbstractMessageConverterMethodArgumentResolver
Resolves the following method arguments:
When a parameter is annotated with When a parameter is not annotated or the name of the part is not specified, it is derived from the name of the method argument. Automatic validation may be applied if the argument is annotated with |
|
open class RequestResponseBodyMethodProcessor : AbstractMessageConverterMethodProcessor
Resolves method arguments annotated with An |
|
open class ResponseBodyEmitter
A controller method return value type for asynchronous request processing where one or more objects are written to the response. While org.springframework.web.context.request.async.DeferredResult is used to produce a single result, a Supported as a return type on its own as well as within a org.springframework.http.ResponseEntity.
|
|
open class ResponseBodyEmitterReturnValueHandler : HandlerMethodReturnValueHandler
Handler for return values of type ResponseBodyEmitter and sub-classes such as SseEmitter including the same types wrapped with ResponseEntity. As of 5.0 also supports reactive return value types for any reactive library with registered adapters in ReactiveAdapterRegistry. |
|
abstract class ResponseEntityExceptionHandler
A convenient base class for ControllerAdvice classes that wish to provide centralized exception handling across all This base class provides an If there is no need to write error content to the response body, or when using view resolution (e.g., via Note that in order for an |
|
open class ServletCookieValueMethodArgumentResolver : AbstractCookieValueMethodArgumentResolver
An org.springframework.web.method.annotation.AbstractCookieValueMethodArgumentResolver that resolves cookie values from an HttpServletRequest. |
|
open class ServletInvocableHandlerMethod : InvocableHandlerMethod
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 A |
|
open class ServletModelAttributeMethodProcessor : ModelAttributeMethodProcessor
A Servlet-specific ModelAttributeMethodProcessor that applies data binding through a WebDataBinder of type ServletRequestDataBinder. Also adds a fall-back strategy to instantiate the model attribute from a URI template variable or from a request parameter if the name matches the model attribute name and there is an appropriate type conversion strategy. |
|
open class ServletRequestDataBinderFactory : InitBinderDataBinderFactory
Creates a |
|
open class ServletRequestMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves request-related method argument values of the following types:
|
|
open class ServletResponseMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves response-related method argument values of types:
|
|
open class ServletWebArgumentResolverAdapter : AbstractWebArgumentResolverAdapter
A Servlet-specific org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter that creates a NativeWebRequest from ServletRequestAttributes. Note: This class is provided for backwards compatibility. However it is recommended to re-write a |
|
open class SessionAttributeMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver
Resolves method arguments annotated with an @SessionAttribute. |
|
open class SseEmitter : ResponseBodyEmitter
A specialization of ResponseBodyEmitter for sending Server-Sent Events. |
|
interface StreamingResponseBody
A controller method return value type for asynchronous request processing where the application can write directly to the response Note: when using this option it is highly recommended to configure explicitly the TaskExecutor used in Spring MVC for executing asynchronous requests. Both the MVC Java config and the MVC namespaces provide options to configure asynchronous handling. If not using those, an application can set the |
|
open class StreamingResponseBodyReturnValueHandler : HandlerMethodReturnValueHandler
Supports return values of type org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody and also |
|
open class UriComponentsBuilderMethodArgumentResolver : HandlerMethodArgumentResolver
Resolvers argument values of type UriComponentsBuilder. The returned instance is initialized via |
|
open class ViewMethodReturnValueHandler : HandlerMethodReturnValueHandler
Handles return values that are of type View. A A View return type has a set purpose. Therefore this handler should be configured ahead of handlers that support any return value type annotated with |
|
open class ViewNameMethodReturnValueHandler : HandlerMethodReturnValueHandler
Handles return values of types A A String return value can be interpreted in more than one ways depending on the presence of annotations like |