@Dataformat(value="mime-multipart")
public class MimeMultipartDataFormat
extends org.apache.camel.support.DefaultDataFormat
| Constructor and Description |
|---|
MimeMultipartDataFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(org.apache.camel.Exchange exchange,
Object graph,
OutputStream stream) |
void |
setBinaryContent(boolean binaryContent) |
void |
setHeadersInline(boolean headersInline) |
void |
setIncludeHeaders(String includeHeaders) |
void |
setMultipartSubType(String multipartSubType) |
void |
setMultipartWithoutAttachment(boolean multipartWithoutAttachment) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream stream) |
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void setBinaryContent(boolean binaryContent)
public void setHeadersInline(boolean headersInline)
public void setIncludeHeaders(String includeHeaders)
public void setMultipartWithoutAttachment(boolean multipartWithoutAttachment)
public void setMultipartSubType(String multipartSubType)
public void marshal(org.apache.camel.Exchange exchange,
Object graph,
OutputStream stream)
throws org.apache.camel.NoTypeConversionAvailableException,
javax.mail.MessagingException,
IOException
org.apache.camel.NoTypeConversionAvailableExceptionjavax.mail.MessagingExceptionIOExceptionpublic Object unmarshal(org.apache.camel.Exchange exchange, InputStream stream) throws IOException, javax.mail.MessagingException
IOExceptionjavax.mail.MessagingExceptionApache Camel