dev@jsr311.java.net

Re: JSR311: Removing valueOf method from CacheControl and NewCookie

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Wed, 25 Jun 2008 16:42:40 +0200

Hi,

if someone wants to read a serialized NewCookie or CacheControl in a
MessageBodyWriter it may be useful.

best regards
   Stephan

Marc Hadley schrieb:
> Paul pointed out the we don't have a use case for valueOf in the above
> two classes - they are both response-oriented so we don't need to
> parse an incoming string. I propose to remove them and make
> implementation of HeaderDelegate<T>.fromString optional for
> T=CacheControl and NewCookie.