Class AttachmentSerializer

java.lang.Object
org.apache.cxf.attachment.AttachmentSerializer

public class AttachmentSerializer extends Object
  • Constructor Details

    • AttachmentSerializer

      public AttachmentSerializer(Message messageParam)
    • AttachmentSerializer

      public AttachmentSerializer(Message messageParam, String multipartType, boolean writeOptionalTypeParameters, Map<String,List<String>> headers)
  • Method Details

    • writeProlog

      public void writeProlog() throws IOException
      Serialize the beginning of the attachment which includes the MIME beginning and headers for the root message.
      Throws:
      IOException
    • setContentTransferEncoding

      public void setContentTransferEncoding(String cte)
    • writeAttachments

      public void writeAttachments() throws IOException
      Write the end of the body boundary and any attachments included.
      Throws:
      IOException
    • isXop

      public boolean isXop()
    • setXop

      public void setXop(boolean xop)