spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

Update documentation for path route predicate

Open oguera opened this issue 2 years ago • 2 comments

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 avatar May 19 '22 10:05 oguera

@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.

pivotal-cla avatar May 19 '22 10:05 pivotal-cla

@oguera Thank you for signing the Contributor License Agreement!

pivotal-cla avatar May 19 '22 10:05 pivotal-cla

Cherry-picked to 3.1.x and merged forward to main via 51137c26109b87d0b87d10c3947239eb1457b0e6

spencergibb avatar Jan 12 '23 18:01 spencergibb