Package org.eclipse.jetty.util
Class HostMap<TYPE>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,TYPE>
-
- org.eclipse.jetty.util.HostMap<TYPE>
-
- Type Parameters:
TYPE
- the element type
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,TYPE>
public class HostMap<TYPE> extends java.util.HashMap<java.lang.String,TYPE>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TYPE
get(java.lang.Object key)
java.lang.Object
getLazyMatches(java.lang.String host)
Retrieve a lazy list of map entries associated with specified hostname by taking into account the domain suffix matches.TYPE
put(java.lang.String host, TYPE object)
-
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
-
-
-
-
Method Detail
-
get
public TYPE get(java.lang.Object key)
-
getLazyMatches
public java.lang.Object getLazyMatches(java.lang.String host)
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
-
-