接口 AnnotatedMethodParameterProcessor
-
- 所有超级接口:
Comparable<Prioritized>
,Prioritized
- 所有已知实现类:
AbstractAnnotatedMethodParameterProcessor
,AbstractRequestAnnotationParameterProcessor
,DefaultValueParameterProcessor
,FormParamParameterProcessor
,HeaderParamParameterProcessor
,MatrixParamParameterProcessor
,ParamAnnotationParameterProcessor
,QueryParamParameterProcessor
,RequestHeaderParameterProcessor
,RequestParamParameterProcessor
@SPI public interface AnnotatedMethodParameterProcessor extends Prioritized
The interface to process the annotated method parameter- 从以下版本开始:
- 2.7.6
-
-
字段概要
-
从接口继承的字段 org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
方法概要
所有方法 静态方法 实例方法 抽象方法 修饰符和类型 方法 说明 static String
buildDefaultValue(int parameterIndex)
Build the default valueString
getAnnotationType()
The string presenting the annotation typevoid
process(Annotation annotation, Parameter parameter, int parameterIndex, Method method, Class<?> serviceType, Class<?> serviceInterfaceClass, RestMethodMetadata restMethodMetadata)
Process the specified methodparameter
-
从接口继承的方法 org.apache.dubbo.common.lang.Prioritized
compareTo, getPriority
-
-
-
-
方法详细资料
-
getAnnotationType
String getAnnotationType()
The string presenting the annotation type- 返回:
- non-null
-
process
void process(Annotation annotation, Parameter parameter, int parameterIndex, Method method, Class<?> serviceType, Class<?> serviceInterfaceClass, RestMethodMetadata restMethodMetadata)
Process the specified methodparameter
- 参数:
annotation
-the target annotation
whose type isgetAnnotationType()
parameter
- the method parameterparameterIndex
- the index of method parametermethod
-method that parameter belongs to
serviceType
- Dubbo Service interface or typeserviceInterfaceClass
- The type of Dubbo Service interfacerestMethodMetadata
-the metadata is used to update
-
buildDefaultValue
static String buildDefaultValue(int parameterIndex)
Build the default value- 参数:
parameterIndex
- the index of parameter- 返回:
- the placeholder
-
-