public class DefaultFeignClientConfiguration extends Object
| Constructor and Description |
|---|
DefaultFeignClientConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.client.loadbalancer.LoadBalancedRetryFactory |
backOffPolciyFactory()
Creates an instance of a back off policy used in conjuntion with the retry policy.
|
feign.auth.BasicAuthRequestInterceptor |
basicAuthRequestInterceptor()
Creates an instance of BasicAuth interceptor configured with a username and password.
|
feign.codec.ErrorDecoder |
feignClientErrorDecoder()
Creates an instance of the a the default HTTP status translator.
|
feign.Retryer |
retryer()
Creates a default http retry policy.
|
@Bean public feign.codec.ErrorDecoder feignClientErrorDecoder()
@Bean
@ConditionalOnProperty(name="direct.webservices.security.basic.user.name",
matchIfMissing=false)
public feign.auth.BasicAuthRequestInterceptor basicAuthRequestInterceptor()
@Bean public org.springframework.cloud.client.loadbalancer.LoadBalancedRetryFactory backOffPolciyFactory()
@Bean public feign.Retryer retryer()
Copyright © 2010–2021 The Direct Project. All rights reserved.