Attachment-related utility classes
Modifiers | Name | Description |
---|---|---|
static Session |
JAVAMAIL_SESSION |
|
static long |
MAX_SIZE_IN_MEMORY_ATTACHMENT |
|
static java.lang.String |
ROOTPART_SOAPUI_ORG |
|
static javax.xml.namespace.QName |
XOP_HREF_QNAME |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
addMimeParts(AttachmentContainer container, java.util.List<Attachment> attachments, MimeMultipart mp, StringToStringMap contentIds) Adds defined attachments as mimeparts |
|
static void |
addMultipartAttachment(MimeMultipart mp, StringToStringMap contentIds, java.util.List<Attachment> attachments, boolean isMtomEnabled) Adds a mulitpart MimeBodyPart from an array of attachments |
|
static void |
addSingleAttachment(MimeMultipart mp, StringToStringMap contentIds, Attachment att, boolean isMtomEnabled) Adds a simple MimeBodyPart from an attachment |
|
static java.lang.String |
buildMTOMContentType(java.lang.String header, java.lang.String action, SoapVersion soapVersion) |
|
static java.lang.String |
buildRootPartContentType(java.lang.String action, SoapVersion soapVersion) |
|
static java.util.List<HttpAttachmentPart> |
extractAttachmentParts(WsdlOperation operation, java.lang.String messageContent, boolean addAnonymous, boolean isResponse, boolean forceMtom) |
|
static AttachmentEncoding |
getAttachmentEncoding(WsdlOperation operation, HttpAttachmentPart httpAttachmentPart, boolean isResponse) |
|
static AttachmentEncoding |
getAttachmentEncoding(WsdlOperation operation, java.lang.String partName, boolean isResponse) |
|
static java.lang.String |
getXmlMimeContentType(XmlCursor cursor) |
|
static void |
initPartContentId(StringToStringMap contentIds, MimeBodyPart part, Attachment attachment, boolean isMultipart, boolean isMtomEnabled) |
|
static boolean |
isSwaRefType(SchemaType schemaType) |
|
static boolean |
isXopInclude(SchemaType schemaType) |
|
static boolean |
prepareMessagePart(WsdlAttachmentContainer container, MimeMultipart mp, MessageXmlPart messagePart, StringToStringMap contentIds) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Adds defined attachments as mimeparts
Adds a mulitpart MimeBodyPart from an array of attachments
Adds a simple MimeBodyPart from an attachment