You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But there is no way to customize using webflux and multiple groups.
Describe the solution you'd like
Add ServerBaseUrlCustomizer alternatives with request for webflux:
@FunctionalInterface
public interface ServerBaseUrlRequestCustomizer {
String customize(ServerHttpRequest serverBaseUrl);
}
And servlet:
@FunctionalInterface
public interface ServerBaseUrlRequestCustomizer {
String customize(HttpServletRequest serverBaseUrl);
}
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
mshima
changed the title
Add a generic way to customize serverBaseUrl based on request.
Add a generic way to customize serverBaseUrl based on request headers.
Apr 22, 2024
Is your feature request related to a problem? Please describe.
We use gateway and routes serving
/services/*
./services/*
are stripped from url before passing to microservices.We don't use
*-ui
packages.We want to rebuild the
serverBaseUrl
based on the gateway populatedX-Forwarded-Prefix
.Using mvc:
Using webflux without groups:
But there is no way to customize using webflux and multiple groups.
Describe the solution you'd like
Add ServerBaseUrlCustomizer alternatives with request for webflux:
And servlet:
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: