private class ServletInvocableHandlerMethod.CallableHandlerMethod extends ServletInvocableHandlerMethod
Callable
and "inherits" the annotations of the containing class
instance, useful for invoking a Callable returned from a HandlerMethod.logger
Constructor and Description |
---|
ServletInvocableHandlerMethod.CallableHandlerMethod(java.util.concurrent.Callable<?> callable) |
Modifier and Type | Method and Description |
---|---|
<A extends java.lang.annotation.Annotation> |
getMethodAnnotation(java.lang.Class<A> annotationType)
Returns a single annotation on the underlying method traversing its super methods if no
annotation can be found on the given method itself.
|
invokeAndHandle, setHandlerMethodReturnValueHandlers, wrapConcurrentResult
getDetailedErrorMessage, invokeForRequest, setDataBinderFactory, setHandlerMethodArgumentResolvers, setParameterNameDiscoverer
createWithResolvedBean, equals, getBean, getBeanType, getBridgedMethod, getMethod, getMethodParameters, getReturnType, getReturnValueType, hashCode, isVoid, toString
public ServletInvocableHandlerMethod.CallableHandlerMethod(java.util.concurrent.Callable<?> callable)
public <A extends java.lang.annotation.Annotation> A getMethodAnnotation(java.lang.Class<A> annotationType)
HandlerMethod
getMethodAnnotation
in class HandlerMethod
annotationType
- the type of annotation to introspect the method for.null
if none found