| net.matuschek.http.cookie.CookieManager
All known Subclasses: net.matuschek.http.cookie.MemoryCookieManager,
CookieManager | public interface CookieManager (Code) | | This interface defines a container for storing cookies.
author: Daniel Matuschek version: $Id $ |
add | public void add(Cookie cookie)(Code) | | Add this cookie. If there is already a cookie with the same name and
path it will be owerwritten by the new cookie.
Parameters: cookie - a Cookie that will be stored in this cookie manager |
clear | public void clear()(Code) | | Remove all stored cookies
|
cookiesForURL | public String cookiesForURL(URL u)(Code) | | Get the cookie values for the given URL.
a String containing a list of NAME=VALUE pairs (separated bysemicolon) containing all cookie values that are valid for thegiven URL, null if no cookies can be found for this URL |
countCookies | public int countCookies()(Code) | | How many cookies are currently stored in this CookieManager ?
the number of stored Cookies |
finish | public void finish()(Code) | | Insiders BugFix
This method finishes the CleanUpThread.
|
|
|