Hi,

You can use UriInfo and UriBuilder for that: 
http://cxf.apache.org/docs/jax-rs-basics.html ("URI calculation using UriInfo 
and UriBuilder ")

Regards,
Andrei.


> -----Original Message-----
> From: David Hay [mailto:[email protected]]
> Sent: Dienstag, 8. Oktober 2013 22:21
> To: [email protected]
> Subject: Creating URI for created resource
> 
> Hi,
> 
> I'm trying to set the uri for Response.created(uri).build., and need to access
> the path that the method is accessed from.
> 
> What's the best way to do this?
> 
> cheers,
> 
> David

Reply via email to