public class RequestMethodParameter
extends org.springframework.core.MethodParameter
This is request class used to help find annotations in class or method
| Constructor and Description |
|---|
RequestMethodParameter(org.springframework.core.MethodParameter methodParameter)
Creates a new instance of the
RequestMethodParameter class. |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getDeclaredAnnotation(Class<T> annotationClass)
Get declared annotation
|
FieldFilterSetting[] |
getSettingAnnotations()
Search for
FieldFilterSetting in method |
SessionStrategy[] |
getStrategyAnnotations(org.springframework.core.MethodParameter methodParameter)
Search for
SessionStrategy in method |
adaptAnnotation, adaptAnnotationArray, clone, decreaseNestingLevel, equals, forMethodOrConstructor, getAnnotatedElement, getConstructor, getContainingClass, getDeclaringClass, getGenericParameterType, getMember, getMethod, getMethodAnnotation, getMethodAnnotations, getNestedGenericParameterType, getNestedParameterType, getNestingLevel, getParameterAnnotation, getParameterAnnotations, getParameterIndex, getParameterName, getParameterType, getTypeIndexForCurrentLevel, getTypeIndexForLevel, hashCode, hasMethodAnnotation, hasParameterAnnotation, hasParameterAnnotations, increaseNestingLevel, initParameterNameDiscovery, isOptional, nested, nestedIfOptional, setTypeIndexForCurrentLevel, toStringpublic RequestMethodParameter(org.springframework.core.MethodParameter methodParameter)
RequestMethodParameter class.methodParameter - MethodParameterpublic <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass)
Attempts to find filter annotations in MethodParameter or in containing class
T - Annotation generic classannotationClass - Annotation name of annotation to searchAnnotation annotation if found, else nullpublic FieldFilterSetting[] getSettingAnnotations()
FieldFilterSetting in methodFieldFilterSetting if this type of annotation declared in methodpublic SessionStrategy[] getStrategyAnnotations(org.springframework.core.MethodParameter methodParameter)
SessionStrategy in methodmethodParameter - MethodParameter object's method which may have annotationSessionStrategy if this type of annotation declared in methodCopyright © 2019. All rights reserved.