org.opennms.web.rest
Class MultivaluedMapImpl

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,List<String>>
          extended by org.opennms.web.rest.MultivaluedMapImpl
All Implemented Interfaces:
Serializable, Cloneable, Map<String,List<String>>, javax.ws.rs.core.MultivaluedMap<String,String>

public class MultivaluedMapImpl
extends HashMap<String,List<String>>
implements javax.ws.rs.core.MultivaluedMap<String,String>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
MultivaluedMapImpl()
           
 
Method Summary
 void add(String key, String value)
           
 String getFirst(String key)
           
 void put(String key, String... values)
           
 void putSingle(String key, String value)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
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

MultivaluedMapImpl

public MultivaluedMapImpl()
Method Detail

add

public void add(String key,
                String value)
Specified by:
add in interface javax.ws.rs.core.MultivaluedMap<String,String>

getFirst

public String getFirst(String key)
Specified by:
getFirst in interface javax.ws.rs.core.MultivaluedMap<String,String>

putSingle

public void putSingle(String key,
                      String value)
Specified by:
putSingle in interface javax.ws.rs.core.MultivaluedMap<String,String>

put

public void put(String key,
                String... values)


Copyright © 2009. All Rights Reserved.