Package org.apache.axis2.datasource.jaxb
Interface AttachmentContext
- All Known Implementing Classes:
MessageAttachmentContext,MessageContextAttachmentContext
public interface AttachmentContext
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDataHandler(jakarta.activation.DataHandler dh, String cid) Inform the context that an Attachment (DataHandler, CID) is written.jakarta.activation.DataHandlergetDataHandlerForSwA(String blobcid) org.apache.axis2.context.MessageContextbooleanvoidIndicate on the context that SWA attachments are encountered
-
Method Details
-
getMessageContext
org.apache.axis2.context.MessageContext getMessageContext() -
isMTOMEnabled
boolean isMTOMEnabled()- Returns:
- if MTOM enabled calculated from the context information
-
setDoingSWA
void setDoingSWA()Indicate on the context that SWA attachments are encountered -
addDataHandler
Inform the context that an Attachment (DataHandler, CID) is written.- Parameters:
dh-cid-
-
getDataHandlerForSwA
-