dev@jsr311.java.net

RE: Minor issues w/ sketch 2

From: Jerome Louvel <jerome.louvel_at_noelios.com>
Date: Mon, 23 Apr 2007 08:36:16 +0200

Marc,

FYI, we use Cookie and CookieSetting in the Restlet API.

Best regards,
Jerome

> -----Message d'origine-----
> De : Marc.Hadley_at_Sun.COM [mailto:Marc.Hadley_at_Sun.COM]
> Envoyé : vendredi 20 avril 2007 20:44
> À : dev_at_jsr311.dev.java.net
> Objet : Re: Minor issues w/ sketch 2
>
> On Apr 20, 2007, at 1:00 PM, Stefan Tilkov wrote:
>
> > Minor (possibly stupid) questions:
> >
> > - javax.ws.rs.core.ApiMessages imports classes from
> > com.sun.localization?
> >
> Yes, we'll fix that before final release. We're using a utility that
> generates classes from the properties file which makes it easy to
> keep the two in-sync during development.
>
> > - I may have missed some earlier discussion, but a class named
> > "NewCookie" seems weird to me. Is a "NewCookie" something
> > *structurally different* from a (hypothetical) "ExistingCookie"?
> > Maybe "DefaultCookie" would be a better name?
> >
> NewCookie is a mutable class used to create a cookie for use in
> responses, that was the best name we could come up with at the time.
> ExistingCookie doesn't sound right since it could be a new
> cookie you
> are setting. DefaultCookie doesn't sound right either. I'm open to
> better names.
>
> Marc.
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
>