Could you log this as an issue with Jersey, looks like CookieProvider
isn't wired up yet.
Marc.
On Mar 14, 2008, at 11:13 AM, Dianne Jiao wrote:
> Hi,
>
> I got java.lang.UnsupportedOperationException when calling method:
>
> javax.ws.rs.core.Cookie.parse(cookie_toParse)
> cookie_toParse = "Cookie: NAME_1=Value_1;";
>
> Did I miss anything somewhere?
>
> Here is the exception:
>
> java.lang.UnsupportedOperationException
> at
> com
> .sun
> .ws
> .rest
> .impl.provider.header.CookieProvider.fromString(CookieProvider.java:
> 40)
> at
> com
> .sun
> .ws
> .rest
> .impl.provider.header.CookieProvider.fromString(CookieProvider.java:
> 29)
> at javax.ws.rs.core.Cookie.parse(Cookie.java:94)
> ...
>
> Thanks for helping.
>
> Dianne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.