public interface CookieStore
Modifier and Type | Method and Description |
---|---|
static CookieStore |
build()
Builds an in memory cookie store.
|
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.
|
static CookieStore build()
Iterable<io.netty.handler.codec.http.cookie.Cookie> get(Boolean ssl, String domain, String path)
Iterable
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.
ssl
- true if is the connection securedomain
- the domain we are callingpath
- the path we are callingCookieStore put(io.netty.handler.codec.http.cookie.Cookie cookie)
CookieStore
.
If a cookie with the same name is received from the server, it will overwrite this setting.
cookie
- the Cookie
to addCookieStore remove(io.netty.handler.codec.http.cookie.Cookie cookie)
cookie
- the Cookie
to removeCopyright © 2021 Eclipse. All rights reserved.