Class HandlerMethod

  • Direct Known Subclasses:
    InvocableHandlerMethod

    public class HandlerMethod
    extends Object
    Encapsulates information about a handler method consisting of a method and a bean. Provides convenient access to method parameters, the method return value, method annotations, etc.

    The class may be created with a bean instance or with a bean name (e.g. lazy-init bean, prototype bean). Use createWithResolvedBean() to obtain a HandlerMethod instance with a bean instance resolved through the associated BeanFactory.

    Since:
    3.1
    Author:
    Arjen Poutsma, Rossen Stoyanchev, Juergen Hoeller, Sam Brannen