Package org.forgerock.http.protocol
Class RequestCookies
- All Implemented Interfaces:
Map<String,,List<Cookie>> UnmodifiableCollection
public class RequestCookies
extends AbstractMap<String,List<Cookie>>
implements Map<String,List<Cookie>>, UnmodifiableCollection
Exposes incoming request cookies.
-
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
ConstructorsConstructorDescriptionRequestCookies(Request request) Constructs a new request cookies object that reads cookies from the specified request. -
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, equals, hashCode, put, putAll, removeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll
-
Constructor Details
-
RequestCookies
Constructs a new request cookies object that reads cookies from the specified request.- Parameters:
request- the request to read cookies from.
-
-
Method Details
-
containsKey
- Specified by:
containsKeyin interfaceMap<String,List<Cookie>> - Overrides:
containsKeyin classAbstractMap<String,List<Cookie>>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,List<Cookie>> - Overrides:
containsValuein classAbstractMap<String,List<Cookie>>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
size
public int size() -
toString
- Overrides:
toStringin classAbstractMap<String,List<Cookie>>
-
values
-