We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug i need a forward proxy and thought i'd setup spring-cloud-gateway to fix that for me;
https://github.com/spring-cloud/spring-cloud-gateway/blob/v4.2.2/docs/modules/ROOT/pages/spring-cloud-gateway-server-mvc/java-routes-api.adoc#gateway-mvc-implementation-of-routerfunctionsbuilder
The docs here yield non-compiling code
versions
@Bean public RouterFunction<ServerResponse> getRoute() { return route("simple_route").GET("/info.0.json", http()) .before(uri("https://xkcd.com")) .build(); }
the uri method is not in GatewayRouterFunctions so docs are a bit off and i'm happy to fix that but i the code isn't clear on where it went :)
GatewayRouterFunctions
this yaml in config works and does what i want
spring: cloud: gateway: mvc: routes: - id: xkdc_route uri: https://xkcd.com predicates: - Path=/info.0.json
or see full demo project: proxy-foward.zip
tnx; happy to contribute any docs update(s) or other changes :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
i need a forward proxy and thought i'd setup spring-cloud-gateway to fix that for me;
https://github.com/spring-cloud/spring-cloud-gateway/blob/v4.2.2/docs/modules/ROOT/pages/spring-cloud-gateway-server-mvc/java-routes-api.adoc#gateway-mvc-implementation-of-routerfunctionsbuilder
The docs here yield non-compiling code
versions
the uri method is not in
GatewayRouterFunctions
so docs are a bit off and i'm happy to fix that but i the code isn't clear on where it went :)this yaml in config works and does what i want
or see full demo project: proxy-foward.zip
tnx; happy to contribute any docs update(s) or other changes :)
The text was updated successfully, but these errors were encountered: