|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgnu.inet.http.SimpleCookieManager
public class SimpleCookieManager
A simple non-persistent cookie manager. This class can be extended to provide cookie persistence.
| Field Summary | |
|---|---|
protected java.util.Map |
cookies
The cookie cache. |
| Constructor Summary | |
|---|---|
SimpleCookieManager()
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map cookies
| Constructor Detail |
|---|
public SimpleCookieManager()
| Method Detail |
|---|
public void setCookie(Cookie cookie)
CookieManager
setCookie in interface CookieManagercookie - the cookie to store
public Cookie[] getCookies(java.lang.String host,
boolean secure,
java.lang.String path)
CookieManager
getCookies in interface CookieManagerhost - the host namesecure - whether the connection is securepath - the path to access
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||