Created
April 12, 2023 19:09
-
-
Save AdrianoJS/30e644612290b9dfb457f69429dd79a1 to your computer and use it in GitHub Desktop.
spring-cloud-gateway-example-stage-4-Routes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.route(r -> r.path("/ping") | |
.filters(f -> f.filter(pingFilter.apply(new Object()))) // pingFilter.apply parameter cannot be null even though it is ignored. Throws NPE | |
.uri("https://mandatory.url.that.is.ignored.due.to.filter.logic")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment