Class AttachmentRequestCallback

java.lang.Object
org.apache.wss4j.common.ext.AttachmentRequestCallback
All Implemented Interfaces:
Callback

public class AttachmentRequestCallback extends Object implements Callback
  • Constructor Details

    • AttachmentRequestCallback

      public AttachmentRequestCallback()
  • Method Details

    • getAttachmentId

      public String getAttachmentId()
      The requested attachment which will be secured. If null all attachments are requested
    • setAttachmentId

      public void setAttachmentId(String attachmentId)
    • getAttachments

      public List<Attachment> getAttachments()
    • setAttachments

      public void setAttachments(List<Attachment> attachments)
    • isRemoveAttachments

      public boolean isRemoveAttachments()
    • setRemoveAttachments

      public void setRemoveAttachments(boolean removeAttachments)
      Set whether to remove the attachments when we're reading them. The default is "true".