public interface MIMEEntityOutput
| Modifier and Type | Method and Description |
|---|---|
MIMEBodyHeader |
getEntityHeader()
Returns the MIME part header.
|
HTTPResponse |
getHTTPResponse()
This method allows special usage of a HTTP response.
|
void |
serialize(java.io.OutputStream out)
Serializes the MIME part body.
|
void serialize(java.io.OutputStream out)
throws java.io.IOException
out - the output stream to serialize the MIME entity.java.io.IOExceptionHTTPResponse getHTTPResponse()
The DefaultMIMEHandler will check the first MIME entity for a HTTP response. If a
response is set, this HTTP response will be used. The DefaultMIMEHandler will NOT
proceed with the queued MIME entity.
MIMEBodyHeader getEntityHeader()
This header will be written in at the beginning of a MIME part.