Class GatewayDelegatingRouterFunction<T extends org.springframework.web.servlet.function.ServerResponse>
java.lang.Object
org.springframework.cloud.gateway.server.mvc.handler.GatewayDelegatingRouterFunction<T>
- All Implemented Interfaces:
org.springframework.web.servlet.function.RouterFunction<T>
public class GatewayDelegatingRouterFunction<T extends org.springframework.web.servlet.function.ServerResponse>
extends Object
implements org.springframework.web.servlet.function.RouterFunction<T>
-
Constructor Summary
ConstructorsConstructorDescriptionGatewayDelegatingRouterFunction(org.springframework.web.servlet.function.RouterFunction<T> delegate, String routeId) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.function.RouterFunction
and, andNest, andOther, andRoute, filter, withAttribute, withAttributes
-
Constructor Details
-
GatewayDelegatingRouterFunction
-
-
Method Details
-
route
public Optional<org.springframework.web.servlet.function.HandlerFunction<T>> route(org.springframework.web.servlet.function.ServerRequest request) - Specified by:
routein interfaceorg.springframework.web.servlet.function.RouterFunction<T extends org.springframework.web.servlet.function.ServerResponse>
-
accept
public void accept(org.springframework.web.servlet.function.RouterFunctions.Visitor visitor) - Specified by:
acceptin interfaceorg.springframework.web.servlet.function.RouterFunction<T extends org.springframework.web.servlet.function.ServerResponse>
-
toString
-