public class SpringMvcContract
extends feign.Contract.BaseContract
implements org.springframework.context.ResourceLoaderAware
Modifier and Type | Class and Description |
---|---|
static class |
SpringMvcContract.ConvertingExpander |
Constructor and Description |
---|
SpringMvcContract() |
SpringMvcContract(List<AnnotatedParameterProcessor> annotatedParameterProcessors) |
SpringMvcContract(List<AnnotatedParameterProcessor> annotatedParameterProcessors,
org.springframework.core.convert.ConversionService conversionService) |
Modifier and Type | Method and Description |
---|---|
feign.MethodMetadata |
parseAndValidateMetadata(Class<?> targetType,
Method method) |
protected void |
processAnnotationOnClass(feign.MethodMetadata data,
Class<?> clz) |
protected void |
processAnnotationOnMethod(feign.MethodMetadata data,
Annotation methodAnnotation,
Method method) |
protected boolean |
processAnnotationsOnParameter(feign.MethodMetadata data,
Annotation[] annotations,
int paramIndex) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
public SpringMvcContract()
public SpringMvcContract(List<AnnotatedParameterProcessor> annotatedParameterProcessors)
public SpringMvcContract(List<AnnotatedParameterProcessor> annotatedParameterProcessors, org.springframework.core.convert.ConversionService conversionService)
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader
in interface org.springframework.context.ResourceLoaderAware
protected void processAnnotationOnClass(feign.MethodMetadata data, Class<?> clz)
processAnnotationOnClass
in class feign.Contract.BaseContract
public feign.MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method)
parseAndValidateMetadata
in class feign.Contract.BaseContract
protected void processAnnotationOnMethod(feign.MethodMetadata data, Annotation methodAnnotation, Method method)
processAnnotationOnMethod
in class feign.Contract.BaseContract
protected boolean processAnnotationsOnParameter(feign.MethodMetadata data, Annotation[] annotations, int paramIndex)
processAnnotationsOnParameter
in class feign.Contract.BaseContract
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.