@Configuration public class FeignConfig extends Object
Constructor and Description |
---|
FeignConfig() |
Modifier and Type | Method and Description |
---|---|
AisErrorDecoder |
aisErrorDecoder() |
feign.RequestInterceptor |
requestInterceptorWithoutSigning() |
feign.RequestInterceptor |
requestInterceptorWithSigning() |
@Bean public AisErrorDecoder aisErrorDecoder()
@Bean @Profile(value="!no-signature-filter") public feign.RequestInterceptor requestInterceptorWithSigning()
@Bean @Profile(value="no-signature-filter") public feign.RequestInterceptor requestInterceptorWithoutSigning()
Copyright © 2020. All rights reserved.