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
IOExceptionpublic void setContentTransferEncoding(String cte)
public void writeAttachments()
throws IOException
IOExceptionpublic boolean isXop()
public void setXop(boolean xop)
Apache CXF