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 voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)SetentrySet()Objectget(Object key)static voidinstall(MessageContext mc)Add the TransportHeadersAdapter as the property for TransportHeadersbooleanisEmpty()SetkeySet()Objectput(Object key, Object value)voidputAll(Map t)Objectremove(Object key)intsize()StringtoString()Collectionvalues()-
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:
containsKeyin interfaceMap
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap
-
values
public Collection values()
-
-