add encoder, decoder and contract to feign properties, so we can override the default value with properties (#2687)
This commit is contained in:
committed by
Ryan Baxter
parent
a082146715
commit
61bbca23ff
@@ -1131,6 +1131,9 @@ feign:
|
||||
- com.example.FooRequestInterceptor
|
||||
- com.example.BarRequestInterceptor
|
||||
decode404: false
|
||||
encoder: com.example.SimpleEncoder
|
||||
decoder: com.example.SimpleDecoder
|
||||
contract: com.example.SimpleContract
|
||||
----
|
||||
|
||||
Default configurations can be specified in the `@EnableFeignClients` attribute `defaultConfiguration` in a similar manner as described above. The difference is that this configuration will apply to _all_ feign clients.
|
||||
|
||||
Reference in New Issue
Block a user