reta opened a new pull request #822:
URL: https://github.com/apache/cxf/pull/822


   A service in question needs to be reachable via multiple paths. The @Path 
parameter allows for regex matching on a class-level like the following: 
@Path("/{a: regex}"). A class-level `@PathParam` is created by the name of a. 
On the server side, the following annotations both correctly receive requests 
at `/foo/bar`:
   
   ```
   @Path("/{a : foo/bar}")
   @Path("/{a : foo\\/bar}")
   ```
   
   However, on the client side, the following URI(s)
   ```
   final URI uri = UriBuilder
               .fromUri("/")
               .path("{a : foo/bar}")
               .buildFromEncoded("foo/bar");
   ```
   are not properly constructed due to the fact that `/` is used as path 
segment separator without taking into account the URI template expression.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to