public final class MessageContextAttachmentContext extends Object implements AttachmentContext
| Constructor and Description |
|---|
MessageContextAttachmentContext(org.apache.axis2.context.MessageContext msgContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataHandler(javax.activation.DataHandler dh,
String cid)
Inform the context that an Attachment (DataHandler, CID) is written.
|
javax.activation.DataHandler |
getDataHandlerForSwA(String blobcid) |
org.apache.axis2.context.MessageContext |
getMessageContext() |
boolean |
isMTOMEnabled() |
void |
setDoingSWA()
Indicate on the context that SWA attachments are encountered
|
public MessageContextAttachmentContext(org.apache.axis2.context.MessageContext msgContext)
public org.apache.axis2.context.MessageContext getMessageContext()
getMessageContext in interface AttachmentContextpublic boolean isMTOMEnabled()
isMTOMEnabled in interface AttachmentContextpublic void setDoingSWA()
AttachmentContextsetDoingSWA in interface AttachmentContextpublic void addDataHandler(javax.activation.DataHandler dh,
String cid)
AttachmentContextaddDataHandler in interface AttachmentContextpublic javax.activation.DataHandler getDataHandlerForSwA(String blobcid)
getDataHandlerForSwA in interface AttachmentContextCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.