Polishing gh-3223 adds route method to static import

This commit is contained in:
sgibb
2024-03-08 12:34:46 -05:00
parent 35c530e59b
commit eb312e1c07

View File

@@ -29,7 +29,7 @@ Some advanced filters require some metadata to be added to request attributes. T
.GatewaySampleApplication.java
[source,java]
----
import static org.springframework.cloud.gateway.server.mvc.handler.GatewayRouterFunctions;
import static org.springframework.cloud.gateway.server.mvc.handler.GatewayRouterFunctions.route;
import static org.springframework.cloud.gateway.server.mvc.handler.HandlerFunctions.http;
class SimpleGateway {