ocean.net.http.HttpCookies

Members

Classes

Cookie
class Cookie

Defines the Cookie class, and the means for reading & writing them. Cookie implementation conforms with RFC 2109, but supports parsing of server-side cookies only. Client-side cookies are supported in terms of output, but response parsing is not yet implemented ...

CookieParser
class CookieParser

Server-side cookie parser. See RFC 2109 for details.

CookieStack
class CookieStack

Implements a stack of cookies. Each cookie is pushed onto the stack by a parser, which takes its input from HttpHeaders. The stack can be populated for both client and server side cookies.

HttpCookies
class HttpCookies

Handles a set of output cookies by writing them into the list of output headers.

HttpCookiesView
class HttpCookiesView

This is the support point for server-side cookies. It wraps a CookieStack together with a set of HttpHeaders, along with the appropriate cookie parser. One would do something very similar for client side cookie parsing also.

Meta

License

Tango Dual License: 3-Clause BSD License / Academic Free License v3.0. See LICENSE_TANGO.txt for details.

Version

Initial release: April 2004