Package org.apache.cxf.attachment
Class AttachmentSerializer
- java.lang.Object
- 
- org.apache.cxf.attachment.AttachmentSerializer
 
- 
 public class AttachmentSerializer extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description AttachmentSerializer(Message messageParam)AttachmentSerializer(Message messageParam, String multipartType, boolean writeOptionalTypeParameters, Map<String,List<String>> headers)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisXop()voidsetContentTransferEncoding(String cte)voidsetXop(boolean xop)voidwriteAttachments()Write the end of the body boundary and any attachments included.voidwriteProlog()Serialize the beginning of the attachment which includes the MIME beginning and headers for the root message.
 
- 
- 
- 
Method Detail- 
writePrologpublic void writeProlog() throws IOExceptionSerialize the beginning of the attachment which includes the MIME beginning and headers for the root message.- Throws:
- IOException
 
 - 
setContentTransferEncodingpublic void setContentTransferEncoding(String cte) 
 - 
writeAttachmentspublic void writeAttachments() throws IOExceptionWrite the end of the body boundary and any attachments included.- Throws:
- IOException
 
 - 
isXoppublic boolean isXop() 
 - 
setXoppublic void setXop(boolean xop) 
 
- 
 
-