|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.web.method
as colored differences. Deletions are shownlike 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.
Encapsulates information about a bean method consisting ofClass HandlerMethod, constructor HandlerMethod(Object, Method)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 obtainanan HandlerMethod instance with a beaninstanceinstance initialized throughthethe bean factory.@author Arjen Poutsma @author Rossen Stoyanchev @since 3.1
Class HandlerMethod, constructor HandlerMethod(Object, String, Class[])ConstructsCreatea new handleranmethod withinstancethe givenfrom a bean instance andmethod. @param bean the object bean @param method thea method.
Class HandlerMethod, constructor HandlerMethod(String, BeanFactory, Method)ConstructsCreatea new handler methodanwith the giveninstance from a bean instance, method name, andparameters. @param bean the object bean @param methodName the method name @param parameterTypes the methodparametertypestypes. @throws NoSuchMethodException when the method cannot be found
Class HandlerMethod, HandlerMethod createWithResolvedBean()ConstructsCreatea new handler methodanwith the giveninstance from a bean name,anda method. The,bean name willandbealazily{@code BeanFactory}.initialized whenThe method .createWithResolvedBean()ismaycalled. @param beanName thebebean nameused later@paramtobeanFactoryre-create thebean factory to use for bean initialization{@paramcodemethodHandlerMethod}the method forwith an initialized the bean.
If the provided instance contains a bean name rather than an object instance, the bean name isClass HandlerMethod, Class<?> getBeanType()resolvedresolvedbefore a HandlerMethod is created and returned.
Returns the type of the handler for this handler method.Class HandlerMethod, Annotation getMethodAnnotation(Class<A>)Note that if the bean type is a CGLIB-generated class, the original, user-defined class is returned.
Returns a single annotation on the underlying method traversing its super methods ifClass HandlerMethod, MethodParameter getReturnType()nonoannotation 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
ReturnsReturn themethodHandlerMethod return type, as {@code MethodParameter}.