cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: What's the right way to parse a URI in JAX-RS
Date Sun, 04 Jul 2010 20:02:54 GMT
Hi
You can do URIBuilder.fromURI(stringURIvalue).build() which will return URI
and then you can check the components

cheers, Sergey

On Sun, Jul 4, 2010 at 7:49 AM, Jim Talbut <jtalbut@spudsoft.co.uk> wrote:

> Hi,
>
> I have a method that receives a collection of objects, each of which has a
> unique URI as a member, and I need to parse these URI into their component
> parts.
> Clearly these URIs are not the URI of the method that is currently running,
> which seems to mean that UriInfo isn't any help.
> Are there any JAX-RS ways to parse a URI based upon a specific method (like
> an anti-UriBuilder), or am I on my own?
>
> Thanks
>
> Jim
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message