Class GatewayMvcPropertiesBeanDefinitionRegistrar.RouterFunctionHolder

java.lang.Object
org.springframework.cloud.gateway.server.mvc.config.GatewayMvcPropertiesBeanDefinitionRegistrar.RouterFunctionHolder
Enclosing class:
GatewayMvcPropertiesBeanDefinitionRegistrar

public static class GatewayMvcPropertiesBeanDefinitionRegistrar.RouterFunctionHolder extends Object
Simply holds the composite gateway RouterFunction. This class can be refresh scope without fear of having multiple RouterFunction mappings.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RouterFunctionHolder(org.springframework.web.servlet.function.RouterFunction<org.springframework.web.servlet.function.ServerResponse> routerFunction)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.servlet.function.RouterFunction<org.springframework.web.servlet.function.ServerResponse>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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()