@Configuration public class FeignClientsConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
FeignClientsConfiguration.HystrixFeignConfiguration |
Constructor and Description |
---|
FeignClientsConfiguration() |
Modifier and Type | Method and Description |
---|---|
feign.Feign.Builder |
feignBuilder(feign.Retryer retryer) |
feign.Contract |
feignContract(org.springframework.core.convert.ConversionService feignConversionService) |
org.springframework.format.support.FormattingConversionService |
feignConversionService() |
feign.codec.Decoder |
feignDecoder() |
feign.codec.Encoder |
feignEncoder() |
FeignLoggerFactory |
feignLoggerFactory() |
feign.Retryer |
feignRetryer() |
@Bean @ConditionalOnMissingBean public feign.codec.Decoder feignDecoder()
@Bean @ConditionalOnMissingBean public feign.codec.Encoder feignEncoder()
@Bean @ConditionalOnMissingBean public feign.Contract feignContract(org.springframework.core.convert.ConversionService feignConversionService)
@Bean public org.springframework.format.support.FormattingConversionService feignConversionService()
@Bean @ConditionalOnMissingBean public feign.Retryer feignRetryer()
@Bean @Scope(value="prototype") @ConditionalOnMissingBean public feign.Feign.Builder feignBuilder(feign.Retryer retryer)
@Bean @ConditionalOnMissingBean(value=FeignLoggerFactory.class) public FeignLoggerFactory feignLoggerFactory()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.