Change RouterFunctionHolder modifier to public to be used as proxy. Fixes gh-3199 (#3218)

This commit is contained in:
Pavel Tregl
2024-03-08 18:30:11 +01:00
committed by GitHub
parent 08ba9728e1
commit 800cb5c84c

View File

@@ -338,11 +338,11 @@ public class GatewayMvcPropertiesBeanDefinitionRegistrar implements ImportBeanDe
* Simply holds the composite gateway RouterFunction. This class can be refresh scope
* without fear of having multiple RouterFunction mappings.
*/
static class RouterFunctionHolder {
public static class RouterFunctionHolder {
private final RouterFunction<ServerResponse> routerFunction;
RouterFunctionHolder(RouterFunction<ServerResponse> routerFunction) {
public RouterFunctionHolder(RouterFunction<ServerResponse> routerFunction) {
this.routerFunction = routerFunction;
}