public interface CookieManager
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.
|
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