abstract class AbstractCookieValueMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver
A base abstract class to resolve method arguments annotated with An A WebDataBinder may be invoked to apply type conversion to the resolved cookie value. |
|
abstract class AbstractNamedValueMethodArgumentResolver : HandlerMethodArgumentResolver
Abstract base class for resolving method arguments from a named value. Request parameters, request headers, and path variables are examples of named values. Each may have a name, a required flag, and a default value. Subclasses define how to do the following:
A default value string can contain ${...} placeholders and Spring Expression Language #{...} expressions. For this to work a ConfigurableBeanFactory must be supplied to the class constructor. A WebDataBinder is created to apply type conversion to the resolved argument value if it doesn't match the method parameter type. |
|
abstract class AbstractWebArgumentResolverAdapter : HandlerMethodArgumentResolver
An abstract base class adapting a WebArgumentResolver to the HandlerMethodArgumentResolver contract. Note: This class is provided for backwards compatibility. However it is recommended to re-write a |
|
open class ErrorsMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves Errors method arguments. An |
|
open class ExceptionHandlerMethodResolver
Discovers ExceptionHandler methods in a given class, including all of its superclasses, and helps to resolve a given Exception to the exception types supported by a given Method. |
|
open class ExpressionValueMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver
Resolves method arguments annotated with An A WebDataBinder may be invoked to apply type conversion to resolved argument value. |
|
open class InitBinderDataBinderFactory : DefaultDataBinderFactory
Adds initialization to a WebDataBinder via |
|
open class MapMethodProcessor : HandlerMethodArgumentResolver, HandlerMethodReturnValueHandler
Resolves Map method arguments and handles Map return values. A Map return value can be interpreted in more than one ways depending on the presence of annotations like |
|
open class ModelAttributeMethodProcessor : HandlerMethodArgumentResolver, HandlerMethodReturnValueHandler
Resolve Model attributes are obtained from the model or created with a default constructor (and then added to the model). Once created the attribute is populated via data binding to Servlet request parameters. Validation may be applied if the argument is annotated with When this handler is created with |
|
class ModelFactory
Assist with initialization of the Model before controller method invocation and with updates to it after the invocation. On initialization the model is populated with attributes temporarily stored in the session and through the invocation of On update model attributes are synchronized with the session and also BindingResult attributes are added if missing. |
|
open class ModelMethodProcessor : HandlerMethodArgumentResolver, HandlerMethodReturnValueHandler
Resolves Model arguments and handles Model return values. A Model 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 RequestHeaderMapMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves Map method arguments annotated with The created Map contains all request header name/value pairs. The method parameter type may be a MultiValueMap to receive all values for a header, not only the first one. |
|
open class RequestHeaderMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver
Resolves method arguments annotated with An A WebDataBinder is invoked to apply type conversion to resolved request header values that don't yet match the method parameter type. |
|
open class RequestParamMapMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves Map method arguments annotated with an @RequestParam where the annotation does not specify a request parameter name. See RequestParamMethodArgumentResolver for resolving Map method arguments with a request parameter name. The created Map contains all request parameter name/value pairs. If the method parameter type is MultiValueMap instead, the created map contains all request parameters and all there values for cases where request parameters have multiple values. |
|
open class RequestParamMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver, UriComponentsContributor
Resolves method arguments annotated with @RequestParam, arguments of type MultipartFile in conjunction with Spring's MultipartResolver abstraction, and arguments of type If the method parameter type is Map, the name specified in the annotation is used to resolve the request parameter String value. The value is then converted to a Map via type conversion assuming a suitable Converter or PropertyEditor has been registered. Or if a request parameter name is not specified the RequestParamMapMethodArgumentResolver is used instead to provide access to all request parameters in the form of a map. A WebDataBinder is invoked to apply type conversion to resolved request header values that don't yet match the method parameter type. |
|
open class SessionAttributesHandler
Manages controller-specific session attributes declared via SessionAttributes. Actual storage is delegated to a SessionAttributeStore instance. When a controller annotated with |
|
open class SessionStatusMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves a SessionStatus argument by obtaining it from the ModelAndViewContainer. |
open class MethodArgumentConversionNotSupportedException : ConversionNotSupportedException
A ConversionNotSupportedException raised while resolving a method argument. Provides access to the target org.springframework.core.MethodParameter. |
|
open class MethodArgumentTypeMismatchException : TypeMismatchException
A TypeMismatchException raised while resolving a controller method argument. Provides access to the target org.springframework.core.MethodParameter. |