@Configuration @ConditionalOnClass(value=feign.Feign.class) public class HaloFeignAutoConfig extends Object
| 构造器和说明 |
|---|
HaloFeignAutoConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
HaloRequestInterceptor |
feignRequestInterceptor() |
HaloSpringMvcContract |
feignSpringMvcContract(List<org.springframework.cloud.openfeign.AnnotatedParameterProcessor> parameterProcessors,
org.springframework.core.convert.ConversionService conversionService) |
static org.springframework.core.MethodParameter |
interfaceMethodParameter(org.springframework.core.MethodParameter parameter,
Class annotationType) |
void |
modifyArgumentResolvers() |
@Bean public HaloRequestInterceptor feignRequestInterceptor()
@Bean public HaloSpringMvcContract feignSpringMvcContract(@Autowired(required=false) List<org.springframework.cloud.openfeign.AnnotatedParameterProcessor> parameterProcessors, org.springframework.core.convert.ConversionService conversionService)
public static org.springframework.core.MethodParameter interfaceMethodParameter(org.springframework.core.MethodParameter parameter,
Class annotationType)
@PostConstruct public void modifyArgumentResolvers()
Copyright © 2018. All rights reserved.