Package jp.vmi.selenium.selenese.log
Class CookieMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.TreeMap<CookieKey,CookieValue>
-
- jp.vmi.selenium.selenese.log.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
All Methods Instance Methods Concrete Methods 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, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
-
-
-
-
Method Detail
-
add
public void add(org.openqa.selenium.Cookie cookie)
Add cookie information.- Parameters:
cookie- cookie.
-
allMessages
public List<String> allMessages(CookieFilter cookieFilter)
Get all cookies as string.- Parameters:
cookieFilter- cookie filter.- Returns:
- list of cookie string.
-
diffMessages
public List<String> diffMessages(CookieFilter cookieFilter, CookieMap prev)
Get differential cookies as string.- Parameters:
cookieFilter- cookie filter.prev- previous cookie map.- Returns:
- list of differential cookie string.
-
-