Package jp.vmi.selenium.selenese.log
Class CookieMap
- All Implemented Interfaces:
Serializable,Cloneable,Map<CookieKey,CookieValue>,NavigableMap<CookieKey,CookieValue>,SortedMap<CookieKey,CookieValue>
public class CookieMap extends TreeMap<CookieKey,CookieValue>
Map of Cookies.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object> -
Constructor Summary
Constructors Constructor Description CookieMap() -
Method Summary
Modifier and Type Method Description voidadd(org.openqa.selenium.Cookie cookie)Add cookie information.List<String>allMessages(CookieFilter cookieFilter)Get all cookies as string.List<String>diffMessages(CookieFilter cookieFilter, CookieMap prev)Get differential cookies as string.Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
-
Constructor Details
-
CookieMap
public CookieMap()
-
-
Method Details
-
add
public void add(org.openqa.selenium.Cookie cookie)Add cookie information.- Parameters:
cookie- cookie.
-
allMessages
Get all cookies as string.- Parameters:
cookieFilter- cookie filter.- Returns:
- list of cookie string.
-
diffMessages
Get differential cookies as string.- Parameters:
cookieFilter- cookie filter.prev- previous cookie map.- Returns:
- list of differential cookie string.
-