Skip to content

Instantly share code, notes, and snippets.

@AdrianoJS
Created April 12, 2023 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdrianoJS/30e644612290b9dfb457f69429dd79a1 to your computer and use it in GitHub Desktop.
Save AdrianoJS/30e644612290b9dfb457f69429dd79a1 to your computer and use it in GitHub Desktop.
spring-cloud-gateway-example-stage-4-Routes
.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