Interface Cookies
- All Superinterfaces:
ConversionServiceProvider, ConvertibleValues<Cookie>, Iterable<Map.Entry<String,Cookie>>, ValueResolver<CharSequence>
- All Known Implementing Classes:
NettyCookies, SimpleCookies
Models the defined
Cookie instances in an application.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Field Summary
Fields inherited from interface ConvertibleValues
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionfindCookie(CharSequence name) Find aCookiefor the given name.default @Nullable Cookieget(CharSequence name) Get a cookie by name or return null.getAll()names()Methods inherited from interface ConvertibleValues
asMap, asMap, asProperties, contains, forEach, getConversionService, getValue, getValueType, isEmpty, iterator, subMap, subMap, subMap, valuesMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface ValueResolver
get, get, get, get
-
Method Details
-
getAll
-
findCookie
-
get
Get a cookie by name or return null.- Parameters:
name- The name of the cookie- Returns:
- The Cookie instance
-
names
- Specified by:
namesin interfaceConvertibleValues<Cookie>- Returns:
- The names of the values
-