Interface MessageWriter
- All Known Implementing Classes:
DefaultMessageWriter
public interface MessageWriter
An interface to write out content of
Message and other DOM elements to
an OutputStream.-
Method Summary
Modifier and TypeMethodDescriptionvoidwriteBody(Body body, OutputStream out) voidwriteEntity(Entity entity, OutputStream out) voidwriteField(Field field, OutputStream out) voidwriteHeader(Header header, OutputStream out) voidwriteMessage(Message message, OutputStream out) voidwriteMultipart(Multipart multipart, OutputStream out)
-
Method Details
-
writeMessage
- Throws:
IOException
-
writeBody
- Throws:
IOException
-
writeEntity
- Throws:
IOException
-
writeMultipart
- Throws:
IOException
-
writeField
- Throws:
IOException
-
writeHeader
- Throws:
IOException
-