public class Cookie extends LinkedHashMap<String,String>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static String |
DOMAIN |
static String |
EXPIRES |
static String |
HTTP_ONLY |
static String |
MAX_AGE |
static String |
NAME |
static String |
PATH |
static String |
PERSISTENT |
static String |
SECURE |
static String |
VALUE |
static String |
VERSION |
Constructor and Description |
---|
Cookie(Map<String,String> map) |
Cookie(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getValue() |
String |
putIfValueNotNull(String key,
String value) |
static List<Cookie> |
toCookies(Map<String,Object> map) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public static final String NAME
public static final String VALUE
public static final String DOMAIN
public static final String PATH
public static final String VERSION
public static final String EXPIRES
public static final String MAX_AGE
public static final String SECURE
public static final String PERSISTENT
public static final String HTTP_ONLY
Copyright © 2018. All rights reserved.