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
ConstructorDescriptionRequestCookies
(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, remove
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
containsKey
in interfaceMap<String,
List<Cookie>> - Overrides:
containsKey
in classAbstractMap<String,
List<Cookie>>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
List<Cookie>> - Overrides:
containsValue
in classAbstractMap<String,
List<Cookie>>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
size
public int size() -
toString
- Overrides:
toString
in classAbstractMap<String,
List<Cookie>>
-
values
-