public interface Cookies extends Iterable<Cookies.Cookie>
Cookies are loaded from the Cookie header of a RequestHeader
.
See:
Modifier and Type | Interface and Description |
---|---|
static interface |
Cookies.Cookie
HTTP Cookie.
|
Modifier and Type | Method and Description |
---|---|
Optional<Cookies.Cookie> |
get(String name) |
boolean |
has(String name) |
boolean |
isEmpty() |
Set<String> |
names() |
Optional<String> |
value(String name) |
forEach, iterator, spliterator
boolean isEmpty()
boolean has(String name)
name
- Name of the cookie
Optional<Cookies.Cookie> get(String name)
name
- Name of the HTTP Cookie