public interface MIMEAwareBuilder extends Builder
Builder
implementations that can build a message from a MIME
multipart message. This interface should be implemented by message builders associated with MIME
types that can appear as the root part of a multipart message. This is the case for SwA and MTOM.
The processMIMEMessage(Attachments, String, MessageContext)
method is called by
MIMEBuilder
(which is associated by default with the multipart/related MIME
type) after identifying the target builder based on the content type of the root part.
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
processMIMEMessage(org.apache.axiom.attachments.Attachments attachments,
String contentType,
MessageContext messageContext)
Process a MIME multipart message and initialize the message context.
|
processDocument
org.apache.axiom.om.OMElement processMIMEMessage(org.apache.axiom.attachments.Attachments attachments, String contentType, MessageContext messageContext) throws AxisFault
attachments
- the MIME messagecontentType
- the content type of the root part, as specified by the type parameter in
the content type of the MIME messagemessageContext
- the message contextAxisFault
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.