Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomp
Class DefaultHeaders

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,String>
          extended by org.projectodd.stilts.stomp.DefaultHeaders
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>, Headers

public class DefaultHeaders
extends HashMap<String,String>
implements Headers

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
DefaultHeaders()
           
 
Method Summary
 Headers duplicate()
           
 String get(String headerName)
           
 Set<String> getHeaderNames()
           
 void putAll(Headers headers)
           
 void remove(String headerName)
           
 
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 org.projectodd.stilts.stomp.Headers
put
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

DefaultHeaders

public DefaultHeaders()
Method Detail

get

public String get(String headerName)
Specified by:
get in interface Headers

putAll

public void putAll(Headers headers)

remove

public void remove(String headerName)
Specified by:
remove in interface Headers

getHeaderNames

public Set<String> getHeaderNames()
Specified by:
getHeaderNames in interface Headers

duplicate

public Headers duplicate()
Specified by:
duplicate in interface Headers

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.