Class GatewayRouterFunctions
java.lang.Object
org.springframework.cloud.gateway.server.mvc.handler.GatewayRouterFunctions
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.web.servlet.function.RouterFunctions.Builderroute()static org.springframework.web.servlet.function.RouterFunctions.Builderstatic <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunction<T>route(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction)
-
Method Details
-
route
public static org.springframework.web.servlet.function.RouterFunctions.Builder route() -
route
public static org.springframework.web.servlet.function.RouterFunctions.Builder route(String routeId) -
route
public static <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunction<T> route(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction)
-