Package org.faceless.publisher.ext
Class MailExtension.ParsedMimeMessage
java.lang.Object
org.faceless.publisher.ext.MailExtension.ParsedMimeMessage
- Enclosing class:
- MailExtension
ParsedMimeMessage is a wrapper around
MimeMessage
, with some additional state to make it useful as an
input to a Report
.-
Method Summary
Modifier and TypeMethodDescriptionReturn the URL of the "main" part of the message.MimeMessage
Return the originalMimeMessage
getParts()
Return a collection of MIME Parts used in this message.Return the list of Processing Instructions which will be applied to the Report generated from this message.
-
Method Details
-
getMessage
public MimeMessage getMessage()Return the originalMimeMessage
-
getMainPart
Return the URL of the "main" part of the message. -
getParts
Return a collection of MIME Parts used in this message. Each part may be referenced by multiple URLs, any of which can be referenced in the HTML. The returned Map can be modified. Values are usually, but not always, an instance ofMailExtension.PartBlob
- Returns:
- a modifiampa Collection of Parts in this email.
-
getProcessingInstructions
Return the list of Processing Instructions which will be applied to the Report generated from this message. By default the list will attach any Parts that haveContent-Disposostion: attachment
, but this list can be modified inMailExtension.Configuration.apply(org.faceless.publisher.ext.MailExtension.ParsedMimeMessage, org.faceless.publisher.Report)
- Returns:
- a modifiable list of
ProcessingInstruction
objects.
-