Generated by
JDiff

org.springframework.web.method Documentation Differences

This file contains all the changes in documentation in the package org.springframework.web.method 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 HandlerMethod

Encapsulates information about a bean method consisting of aa #getMethod() method and a #getBean() bean. ProvidesProvides convenient access to method parameters, the method return value, methodmethod annotations.

The class may be created with a bean instance or with a bean name (e.g. lazylazy bean, prototype bean). Use .createWithResolvedBean() to obtain anan HandlerMethod instance with a bean instance instance initialized through thethe bean factory. @author Arjen Poutsma @author Rossen Stoyanchev @since 3.1

Class HandlerMethod, constructor HandlerMethod(Object, Method)

ConstructsCreate a new handleran method withinstance the givenfrom a bean instance and method. @param bean the object bean @param method thea method.
Class HandlerMethod, constructor HandlerMethod(Object, String, Class[])

ConstructsCreate a new handler methodan with the giveninstance from a bean instance, method name, and parameters. @param bean the object bean @param methodName the method name @param parameterTypes the method parameter types types. @throws NoSuchMethodException when the method cannot be found
Class HandlerMethod, constructor HandlerMethod(String, BeanFactory, Method)

ConstructsCreate a new handler methodan with the giveninstance from a bean name, anda method. The, bean name willand bea lazily{@code BeanFactory}. initialized whenThe method .createWithResolvedBean() ismay called. @param beanName thebe bean name used later @paramto beanFactoryre-create the bean factory to use for bean initialization {@paramcode methodHandlerMethod} the method forwith an initialized the bean.
Class HandlerMethod, HandlerMethod createWithResolvedBean()

If the provided instance contains a bean name rather than an object instance, the bean name is resolvedresolved before a HandlerMethod is created and returned.
Class HandlerMethod, Class<?> getBeanType()

Returns the type of the handler for this handler method. Note that if the bean type is a CGLIB-generated class, the original, user-defined class is returned.
Class HandlerMethod, Annotation getMethodAnnotation(Class<A>)

Returns a single annotation on the underlying method traversing its super methods if nono annotation can be found on the given method itself. @param annotationType the type of annotation to introspect the method for. @return the annotation, or {@code null} if none found
Class HandlerMethod, MethodParameter getReturnType()

ReturnsReturn the methodHandlerMethod return type, as {@code MethodParameter}.