spring-framework / org.springframework.web.method.support / InvocableHandlerMethod / <init>

<init>

InvocableHandlerMethod(handlerMethod: HandlerMethod)

Create an instance from a HandlerMethod.

InvocableHandlerMethod(bean: Any, method: Method)

Create an instance from a bean instance and a method.

InvocableHandlerMethod(bean: Any, methodName: String, vararg parameterTypes: Class<*>)

Construct a new handler method with the given bean instance, method name and parameters.

Parameters

bean - the object bean

methodName - the method name

parameterTypes - the method parameter types

Exceptions

NoSuchMethodException - when the method cannot be found