cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ioan Eugen Stan (JIRA)" <>
Subject [jira] [Created] (CXF-5920) JAX-RS Link implementation (LinkBuilder) looses context path
Date Thu, 31 Jul 2014 15:18:39 GMT
Ioan Eugen Stan created CXF-5920:

             Summary: JAX-RS Link implementation (LinkBuilder) looses context path  
                 Key: CXF-5920
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 3.0.1
            Reporter: Ioan Eugen Stan

I think I've discovered a bug in CXF, but I'm not sure. Link class
messes links up, and doesn't include servlet and @ApplicationPath
paths from BaseUri:


- I have CdiServlet deployed at '/rest',
- I have Jax rs @ApplicationPath '/api'
- Account resource at  /account

I expect the following code to return links to my resources:
~~~" -- <<>> {}", uri.getBaseUri());
        return Response.ok().links(

However, I get this on the client side:
And I expected links with full path. like ttp://localhost:9001/rest/api/account

UriInfo returns the correct uri. Link messes it up.
INFO  PlatformResource -  -- <<>> http://localhost:9001/rest/api

This message was sent by Atlassian JIRA

View raw message