On Thu, 5 Jul 2001, Michael Hartle wrote:
> >although this brings up a secondary issue - should the Environment class
> >provide a abstract method to create cookies? theoretically, my
> >cookie-creating-component shouldn't have to assume that it's operating on
> >an Http request...
> >
> AFAIK, Cookies are specific to HTTP, so this might be a problem when
> other (?) request types which do not provide an alternative to cookies.
well, the only other environment right now is the commandline environment
which doesn't support much of anything :). but the capability exists to
create new environment types, and we're providing an abstract Cookie
interface that doesn't assume an http implementation. cookies could be
implemented for other protocols, right? so we need an
environment-independent way to create Cookies - and if cookies aren't
allowed in that environment, it can throw CookiesNotSupportedException or
something.
- donald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]