public class SimpleCookies extends Object implements Cookies
Cookies implementation.EMPTY| Constructor and Description | 
|---|
| SimpleCookies(ConversionService conversionService) | 
| Modifier and Type | Method and Description | 
|---|---|
| Optional<Cookie> | findCookie(CharSequence name)Find a  Cookiefor the given name. | 
| <T> Optional<T> | get(CharSequence name,
   ArgumentConversionContext<T> conversionContext)Resolve the given property for the given name. | 
| <T> Optional<T> | get(CharSequence name,
   Class<T> requiredType)Resolve the given property for the given name. | 
| Set<Cookie> | getAll() | 
| Cookie | put(CharSequence name,
   Cookie cookie)Put a new cookie. | 
| Collection<Cookie> | values() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasMap, asMap, asProperties, contains, empty, forEach, getValueType, isEmpty, iterator, of, subMap, subMap, subMapget, getforEach, spliteratorpublic SimpleCookies(ConversionService conversionService)
conversionService - The conversion servicepublic Optional<Cookie> findCookie(CharSequence name)
CookiesCookie for the given name.findCookie in interface Cookiesname - The cookieOptional cookiepublic <T> Optional<T> get(CharSequence name, Class<T> requiredType)
ValueResolverget in interface ValueResolver<CharSequence>T - The concrete typename - The namerequiredType - The required typepublic <T> Optional<T> get(CharSequence name, ArgumentConversionContext<T> conversionContext)
ValueResolverget in interface ValueResolver<CharSequence>T - The concrete typename - The nameconversionContext - The conversion contextpublic Collection<Cookie> values()
values in interface ConvertibleValues<Cookie>public Cookie put(CharSequence name, Cookie cookie)
name - the name of the cookiecookie - the cookie itself