Class HostMap<TYPE>

  • Type Parameters:
    TYPE - the element type
    All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,​TYPE>

    @Deprecated(since="2021-05-27")
    public class HostMap<TYPE>
    extends java.util.HashMap<java.lang.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

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      HostMap()
      Deprecated.
      Construct empty HostMap.
      HostMap​(int capacity)
      Deprecated.
      Construct empty HostMap.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      TYPE get​(java.lang.Object key)
      Deprecated.
       
      java.lang.Object getLazyMatches​(java.lang.String host)
      Deprecated.
      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)
      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
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        equals, hashCode
    • Constructor Detail

      • HostMap

        public HostMap()
        Deprecated.
        Construct empty HostMap.
      • HostMap

        public HostMap​(int capacity)
        Deprecated.
        Construct empty HostMap.
        Parameters:
        capacity - initial capacity
    • Method Detail

      • put

        public TYPE put​(java.lang.String host,
                        TYPE object)
                 throws java.lang.IllegalArgumentException
        Deprecated.
        Specified by:
        put in interface java.util.Map<java.lang.String,​TYPE>
        Overrides:
        put in class java.util.HashMap<java.lang.String,​TYPE>
        Throws:
        java.lang.IllegalArgumentException
        See Also:
        HashMap.put(java.lang.Object, java.lang.Object)
      • get

        public TYPE get​(java.lang.Object key)
        Deprecated.
        Specified by:
        get in interface java.util.Map<java.lang.String,​TYPE>
        Overrides:
        get in class java.util.HashMap<java.lang.String,​TYPE>
        See Also:
        HashMap.get(java.lang.Object)
      • getLazyMatches

        public java.lang.Object getLazyMatches​(java.lang.String host)
        Deprecated.
        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