spring-cloud/spring-cloud-gateway
Auf GitHub ansehenAdd @Order annotation to gatewayRestClientCustomizer Bean
Open
#3.626 geöffnet am 5. Dez. 2024
enhancementhelp wanted
Repository-Metriken
- Stars
- (4.284 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 21h) (18 gemergte PRs in 30 T)
Beschreibung
Could an @Order annotation be added to the gatewayRestClientCustomizer bean? This would give users the ability to add a custom RestClientCustomizer that overrides the requestFactory if needed. I know the ClientHttpRequestFactory bean can be defined, but there could be certain scenarios where the user may have a RestClientCustomizer from a library that sets the requestFactory. Example, a RestClientCustomizer that configures a proxy.