mkopylec / charon-spring-boot-starter

Reverse proxy implementation in form of a Spring Boot starter.
Apache License 2.0
240 stars 54 forks source link

Does it support path rewrite? #71

Closed thiagolocatelli closed 5 years ago

thiagolocatelli commented 5 years ago

Does this library support path rewrite?

For example in spring cloud gateway, we are able to rewrite the path and use regular expressions

b.route("universal-annuities", r -> r.path( "some/path/**") .filters(f -> { f.rewritePath("/some/path/(?<segment>.*)", "/new/path/${segment}"); return f; }) .uri(destinationUri));

If not, any intent to add this to the library?