Interface AttachmentContext

All Known Implementing Classes:
MessageAttachmentContext, MessageContextAttachmentContext

public interface AttachmentContext
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addDataHandler(jakarta.activation.DataHandler dh, String cid)
    Inform the context that an Attachment (DataHandler, CID) is written.
    jakarta.activation.DataHandler
     
    org.apache.axis2.context.MessageContext
     
    boolean
     
    void
    Indicate 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

      void addDataHandler(jakarta.activation.DataHandler dh, String cid)
      Inform the context that an Attachment (DataHandler, CID) is written.
      Parameters:
      dh -
      cid -
    • getDataHandlerForSwA

      jakarta.activation.DataHandler getDataHandlerForSwA(String blobcid)