public class FiberInvocableHandlerMethod extends InvocableHandlerMethod
A fiber-blocking InvocableHandlerMethod
HandlerMethod.HandlerMethodParameter
logger
Constructor and Description |
---|
FiberInvocableHandlerMethod(HandlerMethod handlerMethod) |
FiberInvocableHandlerMethod(Object bean,
Method method) |
FiberInvocableHandlerMethod(Object bean,
String methodName,
Class<?>... parameterTypes) |
Modifier and Type | Method and Description |
---|---|
protected Object |
doInvoke(Object... args)
Invoke the handler method with the given argument values, either traditional thread-blocking or in a new fiber.
|
protected Object |
fiberDispatchInvoke(Object... args) |
protected Object |
threadBlockingInvoke(Object... args) |
getDetailedErrorMessage, invokeForRequest, setDataBinderFactory, setHandlerMethodArgumentResolvers, setParameterNameDiscoverer
createWithResolvedBean, equals, getBean, getBeanType, getBridgedMethod, getMethod, getMethodAnnotation, getMethodParameters, getResolvedFromHandlerMethod, getReturnType, getReturnValueType, hashCode, isVoid, toString
public FiberInvocableHandlerMethod(HandlerMethod handlerMethod)
public FiberInvocableHandlerMethod(Object bean, String methodName, Class<?>... parameterTypes) throws NoSuchMethodException
NoSuchMethodException
protected Object doInvoke(Object... args) throws Exception
Invoke the handler method with the given argument values, either traditional thread-blocking or in a new fiber.
doInvoke
in class InvocableHandlerMethod
Exception
protected Object threadBlockingInvoke(Object... args) throws IllegalAccessException, Exception
IllegalAccessException
Exception