Re: JSR311: Removing valueOf method from CacheControl and NewCookie

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


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

best regards

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.