Package org.eclipse.jetty.util
Class HostMap<TYPE>
- Type Parameters:
TYPE
- the element type
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
TYPE>
- See Also:
-
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
-
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
HostMap
public HostMap()Construct empty HostMap. -
HostMap
public HostMap(int capacity) Construct empty HostMap.- Parameters:
capacity
- initial capacity
-
-
Method Details
-
put
-
get
-
getLazyMatches
Retrieve a lazy list of map entries associated with specified hostname by taking into account the domain suffix matches.- Parameters:
host
- hostname- Returns:
- lazy list of map entries
-