|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
CookieListener | $Id: CookieListener.java,v 1.1 2003/06/17 11:08:25 russgold Exp $ Copyright (c) 2003, Russell Gold Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |
CookieSource | This interface represents a source from which to parse out cookies. |
Class Summary | |
Cookie | An HTTP client-side cookie. |
CookieJar | A collection of HTTP cookies, which can interact with cookie and set-cookie header values. |
CookieProperties | Controls behavior for cookies. |
Classes to support cookie handling. Supports the HTTP state mechanism. The central class of this package is the
CookieJar
, which acts as a repository of
Cookie
objects. There are two main ways to get cookies into the
CookieJar. The first is to construct the CookieJar, passing a CookieSource
to its constructor. This will cause the CookieJar to parse the Set-Cookie headers from the source object. The second is
to copy them from another CookieJar through use of the
updateCookies(CookieJar)
method.
The CookieJar can also produce a Cookie header to be sent as part of a request.
The CookieJar.getCookieHeaderField(java.net.URL)
method
will select any cookies that it has which can be sent to the specified URL and assemble them into an appropriate header.
|
Copyright © 2000-2003 Russell Gold. See license agreement for rights granted. | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |