public class SimpleCookieManager extends java.lang.Object implements CookieManager
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map |
cookies
The cookie cache.
|
| Constructor and Description |
|---|
SimpleCookieManager()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Cookie[] |
getCookies(java.lang.String host,
boolean secure,
java.lang.String path)
Retrieves the cookies matching the specified criteria.
|
void |
setCookie(Cookie cookie)
Stores a cookie in the cookie manager.
|
protected java.util.Map cookies
public void setCookie(Cookie cookie)
CookieManagersetCookie in interface CookieManagercookie - the cookie to storepublic Cookie[] getCookies(java.lang.String host, boolean secure, java.lang.String path)
CookieManagergetCookies in interface CookieManagerhost - the host namesecure - whether the connection is securepath - the path to access© Copyright 2003 The Free Software Foundation, all rights reserved