Generated by
JDiff

org.springframework.web.method.annotation Documentation Differences

This file contains all the changes in documentation in the package org.springframework.web.method.annotation as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class AbstractNamedValueMethodArgumentResolver

Abstract base class for resolving method arguments from a named value. Request parameters, request headers, and and path variables are examples of namednamed 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 ExpressionExpression Language #{...} expressions. For this to work aa ConfigurableBeanFactory must be supplied to the class constructor.

A WebDataBinder is created to apply type conversion to the resolvedresolved argument value if it doesn't t match the method parameter type. @author Arjen Poutsma @author Rossen Stoyanchev @since 3.1

Class AbstractNamedValueMethodArgumentResolver, constructor AbstractNamedValueMethodArgumentResolver(ConfigurableBeanFactory)

@param beanFactory a bean factory to use for resolving ${...} placeholderplaceholder and #{...} SpEL expressions expressions in default values, or {@code null} if defaultdefault values are not expected to contain expressions
Class AbstractNamedValueMethodArgumentResolver, NamedValueInfo createNamedValueInfo(MethodParameter)

Create the NamedValueInfo object for the given method parameter. Implementations typically retrieve the method annotation by means of MethodParameter.getParameterAnnotation(Class). @param parameter the method parameter @return the named value information
Class AbstractNamedValueMethodArgumentResolver, Object resolveName(String, MethodParameter, NativeWebRequest)

Resolves the given parameter type and value name into an argument value. @param name the name of the value being resolved @param parameter the method parameter to resolve to an argument value @param request the current request request @return the resolved argument. May be {@code null} @throws Exception in case of errors

Class ExceptionHandlerMethodResolver

GivenDiscovers a set ofExceptionHandler @ExceptionHandler methods atin initialization,a finds given class thetype, best matching methodincluding all super mappedtypes, and helps to resolve an exception atException to runtime. the method its mapped to. Exception mappings are extracteddefined from thethrough method{@code @ExceptionHandler } annotation or by looking forat Throwablethe methodsignature arguments. of an {@code @ExceptionHandler} method. @author Rossen Stoyanchev @since 3.1
Class ExceptionHandlerMethodResolver, constructor ExceptionHandlerMethodResolver(Class<?>)

A constructor that finds ExceptionHandler methods in athe given handlertype. @param handlerType the handler to inspect for exception handler methods. @throws IllegalStateException If an exception type is mapped to two methods. @throws IllegalArgumentException If an @ExceptionHandler method is not mapped to any exceptions.introspect
Class ExceptionHandlerMethodResolver, Method resolveMethod(Exception)

Find a method to handle the given exception. Use ExceptionDepthComparator Ifif more than one match is found, the best match is selected via ExceptionDepthComparatorfound. @param exception the exception @return an @ExceptionHandlera method, to handle the exception or {@code null}
Class ExceptionHandlerMethodResolver, MethodFilter EXCEPTION_HANDLER_METHODS

A filter for selecting {@code @ExceptionHandler} methods.

Class ModelAttributeMethodProcessor, boolean isBindExceptionRequired(WebDataBinder, MethodParameter)

Whether to raise a BindException on bind or validation errors. The@param binder the data binder used to perform data binding @param defaultparameter the method implementationargument returns@return {@code true} if the next method method argument is not of type Errors. @param binder the data binder used to perform data binding @param parameter the method argument

Class RequestParamMethodArgumentResolver

Resolves method arguments annotated with @RequestParam, arguments of of type MultipartFile in conjunction with Spring's MultipartResolver abstraction, and arguments of type {@code javax.servlet.http.Part} in conjunction conjunction with Servlet 3.0 multipart requests. This resolver can also be created in default default resolution mode in which simple types (int, long, etc.) not annotated annotated with @RequestParam are also treated as request parameters with the the parameter name derived from the argument name.

If the method parameter type is Map, the request parametername specified namein the annotation is used to resolve the request parameter String value. The value isis then converted to a Map via type conversion assuming a suitablesuitable Converter or PropertyEditor has been registered. IfOr if a request parameter name is not specified with a Map method parameter type, thethe RequestParamMapMethodArgumentResolver is used instead providingto provide access to all request parameters in the form of a map.

A WebDataBinder is invoked to apply type conversion to resolved request request header values that don't yet match the method parameter type. @author Arjen Poutsma @author Rossen Stoyanchev @since 3.1 @see RequestParamMapMethodArgumentResolver

Class RequestParamMethodArgumentResolver, constructor RequestParamMethodArgumentResolver(ConfigurableBeanFactory, boolean)

@param beanFactory a bean factory used for resolving ${...} placeholderplaceholder and #{...} SpEL expressions in default values, or {@code null} if default default values are not expected to contain expressions @param useDefaultResolution in default resolution mode a method argument argument that is a simple type, as defined in BeanUtils.isSimpleProperty, is treated as a request parameter even if it itsn't annotated, the the request parameter name is derived from the method parameter name.
Class RequestParamMethodArgumentResolver, boolean supportsParameter(MethodParameter)

Supports the following: