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
  • 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 context
      annotation - the annotation instance
      method - the method that contains the annotation
      Returns:
      whether the parameter is http