public class BodyParameterProcessor extends AbstractAnnotatedMethodParameterProcessor
AnnotatedMethodParameterProcessor implementation for JAX-RS's @FormParam| 构造器和说明 |
|---|
BodyParameterProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAnnotationName()
The string presenting the annotation name
|
void |
process(Annotation annotation,
Parameter parameter,
int parameterIndex,
Method method,
Class<?> serviceType,
Class<?> serviceInterfaceClass,
RestMethodMetadata restMethodMetadata)
Process the specified method
parameter |
getAnnotationClassbuildDefaultValuepublic String getAnnotationName()
AnnotatedMethodParameterProcessorpublic void process(Annotation annotation, Parameter parameter, int parameterIndex, Method method, Class<?> serviceType, Class<?> serviceInterfaceClass, RestMethodMetadata restMethodMetadata)
AnnotatedMethodParameterProcessorparameterprocess 在接口中 AnnotatedMethodParameterProcessorprocess 在类中 AbstractAnnotatedMethodParameterProcessorannotation - the target annotation whose type is AnnotatedMethodParameterProcessor.getAnnotationName()parameter - the method parameterparameterIndex - the index of method parametermethod - method that parameter belongs toserviceType - Dubbo Service interface or typeserviceInterfaceClass - The type of Dubbo Service interfacerestMethodMetadata - the metadata is used to updateCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.