com.sun.jersey.core.util
Class StringKeyStringValueIgnoreCaseMultivaluedMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by com.sun.jersey.core.util.KeyComparatorHashMap<K,V>
          extended by com.sun.jersey.core.util.KeyComparatorLinkedHashMap<java.lang.String,java.util.List<V>>
              extended by com.sun.jersey.core.util.StringKeyIgnoreCaseMultivaluedMap<java.lang.String>
                  extended by com.sun.jersey.core.util.StringKeyStringValueIgnoreCaseMultivaluedMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.util.List<java.lang.String>>, MultivaluedMap<java.lang.String,java.lang.String>
Direct Known Subclasses:
InBoundHeaders

public class StringKeyStringValueIgnoreCaseMultivaluedMap
extends StringKeyIgnoreCaseMultivaluedMap<java.lang.String>

An implementation of MultivaluedMap where keys are instances of String and are compared ignoring case and values are instances of String.

Author:
[email protected]
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
StringKeyStringValueIgnoreCaseMultivaluedMap()
           
StringKeyStringValueIgnoreCaseMultivaluedMap(StringKeyStringValueIgnoreCaseMultivaluedMap that)
           
 
Method Summary
 void addObject(java.lang.String key, java.lang.Object value)
           
<A> java.util.List<A>
get(java.lang.String key, java.lang.Class<A> type)
           
<A> A
getFirst(java.lang.String key, A defaultValue)
           
<A> A
getFirst(java.lang.String key, java.lang.Class<A> type)
           
 void putSingleObject(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class com.sun.jersey.core.util.StringKeyIgnoreCaseMultivaluedMap
add, getFirst, getList, putSingle
 
Methods inherited from class com.sun.jersey.core.util.KeyComparatorLinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class com.sun.jersey.core.util.KeyComparatorHashMap
clone, containsKey, entrySet, getDEFAULT_INITIAL_CAPACITY, getModCount, isEmpty, put, putAll, remove, size
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, keySet, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

StringKeyStringValueIgnoreCaseMultivaluedMap

public StringKeyStringValueIgnoreCaseMultivaluedMap()

StringKeyStringValueIgnoreCaseMultivaluedMap

public StringKeyStringValueIgnoreCaseMultivaluedMap(StringKeyStringValueIgnoreCaseMultivaluedMap that)
Method Detail

putSingleObject

public void putSingleObject(java.lang.String key,
                            java.lang.Object value)

addObject

public void addObject(java.lang.String key,
                      java.lang.Object value)

get

public <A> java.util.List<A> get(java.lang.String key,
                                 java.lang.Class<A> type)

getFirst

public <A> A getFirst(java.lang.String key,
                      java.lang.Class<A> type)

getFirst

public <A> A getFirst(java.lang.String key,
                      A defaultValue)


Copyright © 2011 Oracle Corporation. All Rights Reserved.