|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CookieManager
Cookie manager interface. If an application wants to handle cookies, they should implement this interface and register the instance with each HTTPConnection they use.
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. |
Method Detail |
---|
void setCookie(Cookie cookie)
cookie
- the cookie to storeCookie[] getCookies(java.lang.String host, boolean secure, java.lang.String path)
host
- 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 |