public class AttachmentSerializer extends Object
Constructor and Description |
---|
AttachmentSerializer(Message messageParam) |
AttachmentSerializer(Message messageParam,
String multipartType,
boolean writeOptionalTypeParameters,
Map<String,List<String>> headers) |
Modifier and Type | Method and Description |
---|---|
boolean |
isXop() |
void |
setContentTransferEncoding(String cte) |
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.
|
public AttachmentSerializer(Message messageParam)
public void writeProlog() throws IOException
IOException
public void setContentTransferEncoding(String cte)
public void writeAttachments() throws IOException
IOException
public boolean isXop()
public void setXop(boolean xop)
Copyright © 2017 JBoss by Red Hat. All rights reserved.