Package org.apache.axis2.jaxws.handler
Class TransportHeadersAdapter
- java.lang.Object
-
- org.apache.axis2.jaxws.handler.TransportHeadersAdapter
-
- All Implemented Interfaces:
Map
public class TransportHeadersAdapter extends Object implements Map
The JAX-WS exposes transport properties whose value is Map>. The String is the content-id and DataHandler is the data handler representing the TransportHeaders. The JAX-WS MessageContext stores transport properties in an Map object located on the AXIS2 MessageContext. This class, TransportHeadersAdapter, is an adapter between the Map > interface needed by the properties and the actual implementation. All useful function is delegated through the MessageContext, so that we only have one copy of the information. To use this class, invoke the install method. This will create an TransportHeadersAdapter (if necessary) and install it on the property JAX-WS standard TransportHeaders properties. (See BaseMessageContext.)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set
entrySet()
Object
get(Object key)
static void
install(MessageContext mc)
Add the TransportHeadersAdapter as the property for TransportHeadersboolean
isEmpty()
Set
keySet()
Object
put(Object key, Object value)
void
putAll(Map t)
Object
remove(Object key)
int
size()
String
toString()
Collection
values()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
install
public static void install(MessageContext mc)
Add the TransportHeadersAdapter as the property for TransportHeaders- Parameters:
mc
- MessageContext
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap
-
values
public Collection values()
-
-