users@jersey.java.net

Re: [Jersey] Decoding a URL

From: Daniel Manzke <daniel.manzke_at_googlemail.com>
Date: Fri, 13 Feb 2009 21:21:00 +0100

Hi Paul,
thanks for pointing out. For test issues I use the
UriComponent.decodePath(String, Type.Host).It working like a charm. ;) But
for interoperability reason I have to find another class. ;)

If somebody has an idea, I would be very happy. :)


Bye and a nice weekend,
Daniel

2009/2/13 Paul Sandoz <Paul.Sandoz_at_sun.com>

>
> On Feb 13, 2009, at 12:45 PM, Daniel Manzke wrote:
>
> Hi,
>>
>> I really love the UriBuilder. This class is really good for translating a
>> file path to a uri, because it encode all the not allowed characters. Is
>> there a way to use this (or any other class) vice versa? This means I need
>> to translate the encode parameters back. Maybe I'm only blind and didn't saw
>> the method. :)
>>
>>
> There is nothing in JAX-RS.
>
> For Jersey see UriTemplate:
>
>
> https://jersey.dev.java.net/source/browse/*checkout*/jersey/tags/jersey-1.0.2/api/jersey/com/sun/jersey/api/uri/UriTemplate.html
>
> Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>


-- 
Mit freundlichen Grüßen
Daniel Manzke