spring-cloud-gateway
spring-cloud-gateway copied to clipboard
Update documentation for path route predicate
The documentation states that, in order to access path predicate variables, one should use the getPathPredicateVariables
method of ServerWebExchangeUtils
. However, this method seems to be non existent (see java-doc).
I replaced the method name with the method getUriTemplateVariables
which seems to be the correct one to get easy access to the path predicate variables.
@oguera Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
@oguera Thank you for signing the Contributor License Agreement!
Cherry-picked to 3.1.x and merged forward to main via 51137c26109b87d0b87d10c3947239eb1457b0e6