Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.attachment
Class AttachmentSerializer

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

    public class AttachmentSerializer

extends Object

Constructor Summary
`AttachmentSerializer(Message messageParam)`
`AttachmentSerializer(Message messageParam, String multipartType, Map<String,List<String>> headers)`

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`

Constructor Detail

### AttachmentSerializer

    public AttachmentSerializer(Message messageParam)

### AttachmentSerializer

    public AttachmentSerializer(Message messageParam,
                                String multipartType,
                                Map<String,List<String>> headers)

Method Detail

### 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`

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF