public interface Cookies extends ConvertibleValues<Cookie>
Cookie instances in an application.EMPTY| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<Cookie> |
findCookie(java.lang.CharSequence name)
Find a
Cookie for the given name. |
default Cookie |
get(java.lang.CharSequence name)
Get a cookie by name or return null.
|
java.util.Set<Cookie> |
getAll() |
default java.util.Set<java.lang.String> |
names() |
asMap, asMap, asProperties, contains, empty, forEach, getValue, getValueType, isEmpty, iterator, of, subMap, subMap, subMap, valuesget, get, get, getjava.util.Set<Cookie> getAll()
java.util.Optional<Cookie> findCookie(java.lang.CharSequence name)
Cookie for the given name.name - The cookieOptional cookiedefault Cookie get(java.lang.CharSequence name)
name - The name of the cookiedefault java.util.Set<java.lang.String> names()
names in interface ConvertibleValues<Cookie>