public class PathVariableParameterProcessor extends java.lang.Object implements AnnotatedParameterProcessor
PathVariable parameter processor.AnnotatedParameterProcessor.AnnotatedParameterContext| 构造器和说明 |
|---|
PathVariableParameterProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType()
Retrieves the processor supported annotation type.
|
boolean |
processArgument(AnnotatedParameterProcessor.AnnotatedParameterContext context,
java.lang.annotation.Annotation annotation,
java.lang.reflect.Method method)
Process the annotated parameter.
|
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
AnnotatedParameterProcessorgetAnnotationType 在接口中 AnnotatedParameterProcessorpublic boolean processArgument(AnnotatedParameterProcessor.AnnotatedParameterContext context, java.lang.annotation.Annotation annotation, java.lang.reflect.Method method)
AnnotatedParameterProcessorprocessArgument 在接口中 AnnotatedParameterProcessorcontext - the parameter contextannotation - the annotation instancemethod - the method that contains the annotation