| java.lang.Object org.apache.axis2.jaxws.handler.AttachmentsAdapter
AttachmentsAdapter | public class AttachmentsAdapter implements Map<String, DataHandler>(Code) | | The JAX-WS exposes attachment properties whose value is Map. The
String is the content-id and DataHandler is the data handler representing the attachment.
The JAX-WS MessageContext stores attachments in an Axiom Attachments object located on the JAX-WS
Message.
This class, AttachmentAdapter, 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 attachment information.
To use this class, invoke the install method. This will create an AttachmentAdapter (if necessary) and install it
on the property JAX-WS standard attachment property. (See BaseMessageContext.)
|
clear | public void clear()(Code) | | |
containsValue | public boolean containsValue(Object value)(Code) | | |
install | public static void install(MessageContext mc)(Code) | | Add the AttachmentAdapter as the property for the inbound or
outbound attachment property
Parameters: mc - MessageContext |
isEmpty | public boolean isEmpty()(Code) | | |
|
|