Interface AnnotatedParameterProcessor.AnnotatedParameterContext
- Enclosing interface:
- AnnotatedParameterProcessor
public static interface AnnotatedParameterProcessor.AnnotatedParameterContext
Specifies the parameter context.
- Author:
- Jakub Narloch
-
Method Summary
Modifier and TypeMethodDescriptionfeign.MethodMetadata
Retrieves the method metadata.int
Retrieves the index of the parameter.void
setParameterName
(String name) Sets the parameter name.setTemplateParameter
(String name, Collection<String> rest) Sets the template parameter.
-
Method Details
-
getMethodMetadata
feign.MethodMetadata getMethodMetadata()Retrieves the method metadata.- Returns:
- the method metadata
-
getParameterIndex
int getParameterIndex()Retrieves the index of the parameter.- Returns:
- the parameter index
-
setParameterName
Sets the parameter name.- Parameters:
name
- the name of the parameter
-
setTemplateParameter
Sets the template parameter.- Parameters:
name
- the template parameterrest
- the existing parameter values- Returns:
- parameters
-