public class CookieStoreImpl extends Object implements CookieStore
| Constructor and Description |
|---|
CookieStoreImpl() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<io.netty.handler.codec.http.cookie.Cookie> |
get(Boolean ssl,
String domain,
String path)
Returns and
Iterable of cookies satisfying the filters passed as paraemters. |
CookieStore |
put(io.netty.handler.codec.http.cookie.Cookie cookie)
Add a cookie to this
CookieStore. |
CookieStore |
remove(io.netty.handler.codec.http.cookie.Cookie cookie)
Removes a previously added cookie.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildpublic Iterable<io.netty.handler.codec.http.cookie.Cookie> get(Boolean ssl, String domain, String path)
CookieStoreIterable of cookies satisfying the filters passed as paraemters.
It is implementation responsibility to return the appropriate cookies between the ones stored in this store and to clean up the path.
get in interface CookieStoressl - true if is the connection securedomain - the domain we are callingpath - the path we are callingpublic CookieStore put(io.netty.handler.codec.http.cookie.Cookie cookie)
CookieStoreCookieStore.
If a cookie with the same name is received from the server, it will overwrite this setting.
put in interface CookieStorecookie - the Cookie to addpublic CookieStore remove(io.netty.handler.codec.http.cookie.Cookie cookie)
CookieStoreremove in interface CookieStorecookie - the Cookie to removeCopyright © 2020. All rights reserved.