Class GatewayMvcPropertiesBeanDefinitionRegistrar.RouterFunctionHolder
java.lang.Object
org.springframework.cloud.gateway.server.mvc.config.GatewayMvcPropertiesBeanDefinitionRegistrar.RouterFunctionHolder
- Enclosing class:
- GatewayMvcPropertiesBeanDefinitionRegistrar
Simply holds the composite gateway RouterFunction. This class can be refresh scope
without fear of having multiple RouterFunction mappings.
-
Constructor Summary
ConstructorsConstructorDescriptionRouterFunctionHolder(org.springframework.web.servlet.function.RouterFunction<org.springframework.web.servlet.function.ServerResponse> routerFunction) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.function.RouterFunction<org.springframework.web.servlet.function.ServerResponse>
-
Constructor Details
-
RouterFunctionHolder
public RouterFunctionHolder(org.springframework.web.servlet.function.RouterFunction<org.springframework.web.servlet.function.ServerResponse> routerFunction)
-
-
Method Details
-
getRouterFunction
public org.springframework.web.servlet.function.RouterFunction<org.springframework.web.servlet.function.ServerResponse> getRouterFunction()
-