Interface CookieJar
public interface CookieJar
A
Cookie
container for a client.-
Method Summary
Modifier and Type Method Description Cookies
get(URI uri)
default void
set(URI uri, Iterable<? extends Cookie> cookies)
void
set(URI uri, Iterable<? extends Cookie> cookies, long createdTimeMillis)
default CookieState
state(Cookie cookie)
Determines the state of a cookie.CookieState
state(Cookie cookie, long currentTimeMillis)
Determines the state of a cookie given the current time.