Interface AnnotatedParameterProcessor
- All Known Implementing Classes:
CookieValueParameterProcessor,MatrixVariableParameterProcessor,PathVariableParameterProcessor,QueryMapParameterProcessor,RequestHeaderParameterProcessor,RequestParamParameterProcessor,RequestPartParameterProcessor
public interface AnnotatedParameterProcessor
Feign contract method parameter processor.
- Author:
- Jakub Narloch, Abhijit Sarkar
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSpecifies the parameter context. -
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.
-
Method Details
-
getAnnotationType
Class<? extends Annotation> getAnnotationType()Retrieves the processor supported annotation type.- Returns:
- the annotation type
-
processArgument
boolean processArgument(AnnotatedParameterProcessor.AnnotatedParameterContext context, Annotation annotation, Method method) Process the annotated parameter.- Parameters:
context- the parameter contextannotation- the annotation instancemethod- the method that contains the annotation- Returns:
- whether the parameter is http
-