org.apache.cxf.attachment
Class AttachmentSerializer
java.lang.Object
org.apache.cxf.attachment.AttachmentSerializer
public class AttachmentSerializer
- extends java.lang.Object
|
Method Summary |
boolean |
isXop()
|
void |
setXop(boolean xop)
|
void |
writeAttachments()
Write the end of the body boundary and any attachments included. |
void |
writeProlog()
Serialize the beginning of the attachment which includes the MIME
beginning and headers for the root message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentSerializer
public AttachmentSerializer(Message messageParam)
AttachmentSerializer
public AttachmentSerializer(Message messageParam,
java.lang.String multipartType,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
writeProlog
public void writeProlog()
throws java.io.IOException
- Serialize the beginning of the attachment which includes the MIME
beginning and headers for the root message.
- Throws:
java.io.IOException
writeAttachments
public void writeAttachments()
throws java.io.IOException
- Write the end of the body boundary and any attachments included.
- Throws:
java.io.IOException
isXop
public boolean isXop()
setXop
public void setXop(boolean xop)
Apache CXF