Package org.apache.axis2.datasource.jaxb
Interface AttachmentContext
-
- All Known Implementing Classes:
MessageAttachmentContext
,MessageContextAttachmentContext
public interface AttachmentContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addDataHandler(DataHandler dh, String cid)
Inform the context that an Attachment (DataHandler, CID) is written.DataHandler
getDataHandlerForSwA(String blobcid)
MessageContext
getMessageContext()
boolean
isMTOMEnabled()
void
setDoingSWA()
Indicate on the context that SWA attachments are encountered
-
-
-
Method Detail
-
getMessageContext
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
void addDataHandler(DataHandler dh, String cid)
Inform the context that an Attachment (DataHandler, CID) is written.- Parameters:
dh
-cid
-
-
getDataHandlerForSwA
DataHandler getDataHandlerForSwA(String blobcid)
-
-