Example usage for Java org.springframework.web.method HandlerMethod fields, constructors, methods, implement or subclass
The text is from its open source code.
HandlerMethod(Object bean, Method method) Create an instance from a bean instance and a method. | |
HandlerMethod(HandlerMethod handlerMethod, Object handler) Re-create HandlerMethod with the resolved handler. | |
HandlerMethod(Object bean, String methodName, Class>... parameterTypes) Create an instance from a bean instance, method name, and parameter types. | |
HandlerMethod(String beanName, BeanFactory beanFactory, Method method) Create an instance from a bean name, a method, and a BeanFactory . |
HandlerMethod | createWithResolvedBean() If the provided instance contains a bean name rather than an object instance, the bean name is resolved before a HandlerMethod is created and returned. |
boolean | equals(@Nullable Object other) |
Object | getBean() Return the bean for this handler method. |
Class> | getBeanType() This method returns the type of the handler for this handler method. |
Method | getMethod() Return the method for this handler method. |
A | getMethodAnnotation(Class annotationType) Return a single annotation on the underlying method traversing its super methods if no annotation can be found on the given method itself. |
MethodParameter[] | getMethodParameters() Return the method parameters for this handler method. |
MethodParameter | getReturnType() Return the HandlerMethod return type. |
String | toString() |