Package org.apache.axis2.jaxws.handler
Class TransportHeadersAdapter
java.lang.Object
org.apache.axis2.jaxws.handler.TransportHeadersAdapter
- All Implemented Interfaces:
Map
The JAX-WS exposes transport properties whose value is Map<String, List>. 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<String, List>
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.)
-
Nested Class Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
install
Add the TransportHeadersAdapter as the property for TransportHeaders- Parameters:
mc- MessageContext
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap
-
containsValue
- Specified by:
containsValuein interfaceMap
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
toString
-