Class PathVariableParameterProcessor
java.lang.Object
org.springframework.cloud.openfeign.annotation.PathVariableParameterProcessor
- All Implemented Interfaces:
AnnotatedParameterProcessor
PathVariable parameter processor.- Author:
- Jakub Narloch, Abhijit Sarkar, Yanming Zhou
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.cloud.openfeign.AnnotatedParameterProcessor
AnnotatedParameterProcessor.AnnotatedParameterContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>Retrieves the processor supported annotation type.booleanprocessArgument(AnnotatedParameterProcessor.AnnotatedParameterContext context, Annotation annotation, Method method) Process the annotated parameter.
-
Constructor Details
-
PathVariableParameterProcessor
public PathVariableParameterProcessor()
-
-
Method Details
-
getAnnotationType
Description copied from interface:AnnotatedParameterProcessorRetrieves the processor supported annotation type.- Specified by:
getAnnotationTypein interfaceAnnotatedParameterProcessor- Returns:
- the annotation type
-
processArgument
public boolean processArgument(AnnotatedParameterProcessor.AnnotatedParameterContext context, Annotation annotation, Method method) Description copied from interface:AnnotatedParameterProcessorProcess the annotated parameter.- Specified by:
processArgumentin interfaceAnnotatedParameterProcessor- Parameters:
context- the parameter contextannotation- the annotation instancemethod- the method that contains the annotation- Returns:
- whether the parameter is http
-