Package org.eclipse.jetty.util
Class HostMap<TYPE>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,TYPE>
-
- org.eclipse.jetty.util.HostMap<TYPE>
-
- Type Parameters:
TYPE- the element type
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,TYPE>
@Deprecated(since="2021-05-27") public class HostMap<TYPE> extends HashMap<String,TYPE>
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.- 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>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TYPEget(Object key)Deprecated.ObjectgetLazyMatches(String host)Deprecated.Retrieve a lazy list of map entries associated with specified hostname by taking into account the domain suffix matches.TYPEput(String host, TYPE object)Deprecated.-
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
-
-
-
-
Method Detail
-
put
public TYPE put(String host, TYPE object) throws IllegalArgumentException
Deprecated.- Specified by:
putin interfaceMap<String,TYPE>- Overrides:
putin classHashMap<String,TYPE>- Throws:
IllegalArgumentException- See Also:
HashMap.put(java.lang.Object, java.lang.Object)
-
-