private class ServletInvocableHandlerMethod.ConcurrentResultMethodParameter extends HandlerMethod.HandlerMethodParameter
DeferredResult<Foo>
.Modifier and Type | Field and Description |
---|---|
private ResolvableType |
returnType |
private java.lang.Object |
returnValue |
Constructor and Description |
---|
ConcurrentResultMethodParameter(java.lang.Object returnValue) |
ConcurrentResultMethodParameter(ServletInvocableHandlerMethod.ConcurrentResultMethodParameter original) |
Modifier and Type | Method and Description |
---|---|
ServletInvocableHandlerMethod.ConcurrentResultMethodParameter |
clone() |
java.lang.reflect.Type |
getGenericParameterType()
Return the generic type of the method/constructor parameter.
|
java.lang.Class<?> |
getParameterType()
Return the type of the method/constructor parameter.
|
<T extends java.lang.annotation.Annotation> |
hasMethodAnnotation(java.lang.Class<T> annotationType)
Return whether the method/constructor is annotated with the given type.
|
getContainingClass, getMethodAnnotation, getParameterAnnotations
adaptAnnotation, adaptAnnotationArray, forExecutable, forParameter
decreaseNestingLevel, equals, findParameterIndex, forMethodOrConstructor, getAnnotatedElement, getConstructor, getDeclaringClass, getExecutable, getMember, getMethod, getMethodAnnotations, getNestedGenericParameterType, getNestedParameterType, getNestingLevel, getParameter, getParameterAnnotation, getParameterIndex, getParameterName, getTypeIndexForCurrentLevel, getTypeIndexForLevel, hashCode, hasParameterAnnotation, hasParameterAnnotations, increaseNestingLevel, initParameterNameDiscovery, isOptional, nested, nestedIfOptional, setTypeIndexForCurrentLevel, toString
@Nullable private final java.lang.Object returnValue
private final ResolvableType returnType
public ConcurrentResultMethodParameter(java.lang.Object returnValue)
public ConcurrentResultMethodParameter(ServletInvocableHandlerMethod.ConcurrentResultMethodParameter original)
public java.lang.Class<?> getParameterType()
MethodParameter
getParameterType
in class MethodParameter
null
)public java.lang.reflect.Type getGenericParameterType()
MethodParameter
getGenericParameterType
in class MethodParameter
null
)public <T extends java.lang.annotation.Annotation> boolean hasMethodAnnotation(java.lang.Class<T> annotationType)
MethodParameter
hasMethodAnnotation
in class HandlerMethod.HandlerMethodParameter
annotationType
- the annotation type to look forMethodParameter.getMethodAnnotation(Class)
public ServletInvocableHandlerMethod.ConcurrentResultMethodParameter clone()
clone
in class HandlerMethod.HandlerMethodParameter