spring-cloud/spring-cloud-gateway
Add @Order annotation to gatewayRestClientCustomizer Bean
Aberta
#3.626 aberto em 5 de dez. de 2024
enhancementhelp wanted
Métricas do repositório
- Stars
- (4.284 estrelas)
- Métricas de merge de PR
- (Mesclagem média 1d 21h) (18 fundiu PRs em 30d)
Description
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.