@Configuration public class SmthitFeignClientConfiguration extends Object
| 构造器和说明 |
|---|
SmthitFeignClientConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
feign.RequestInterceptor |
exceptionRequestInterceptor()
请求默认拦截器,再Header里增加Feign请求头
|
feign.codec.ErrorDecoder |
feignErrorDecoder()
异常的解码器
|
feign.Retryer |
feignRetryer()
默认重用次数
|
Copyright © 2023. All rights reserved.