|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Message | |
|---|---|
| org.nhindirect.stagent | Security and trust agent interface and core messaging and routing structures. |
| org.nhindirect.stagent.cryptography | NHIN Direct cryptography. |
| org.nhindirect.stagent.mail | NHIN Direct mail structures and message wrapping logic. |
| org.nhindirect.stagent.mail.notifications | Message Disposition Notifications implementation: RFC 3798 |
| Uses of Message in org.nhindirect.stagent |
|---|
| Methods in org.nhindirect.stagent that return Message | |
|---|---|
Message |
DefaultMessageEnvelope.getMessage()
Gets the mime message wrapped in the envelope. |
Message |
MessageEnvelope.getMessage()
Gets the mime message wrapped in the envelope. |
| Constructors in org.nhindirect.stagent with parameters of type Message | |
|---|---|
DefaultMessageEnvelope(Message message)
Constructs an envelope from a message. |
|
DefaultMessageEnvelope(Message message,
NHINDAddressCollection recipients,
NHINDAddress sender)
Constructs an envelope from a message, a list of recipients, and a sender. |
|
IncomingMessage(Message message)
Constructs an incoming envelope from a message. |
|
IncomingMessage(Message message,
NHINDAddressCollection recipients,
NHINDAddress sender)
Constructs an incoming envelope from a message, a list of recipients, and a sender. |
|
OutgoingMessage(Message message)
Create an outgoing message from a mime message. |
|
OutgoingMessage(Message message,
NHINDAddressCollection recipients,
NHINDAddress sender)
Create an outgoing message from a mime message overriding the routing headers. |
|
| Uses of Message in org.nhindirect.stagent.cryptography |
|---|
| Methods in org.nhindirect.stagent.cryptography with parameters of type Message | |
|---|---|
MimeEntity |
SMIMECryptographerImpl.decrypt(Message message,
X509CertificateEx decryptingCertificate)
Decrypts a message with the provided certificates private key. |
MimeEntity |
Cryptographer.decrypt(Message message,
X509CertificateEx decryptingCertificate)
Decrypts a message with the provided certificates private key. |
SignedEntity |
SMIMECryptographerImpl.sign(Message message,
java.util.Collection<java.security.cert.X509Certificate> signingCertificates)
|
SignedEntity |
Cryptographer.sign(Message message,
java.util.Collection<java.security.cert.X509Certificate> signingCertificates)
|
SignedEntity |
SMIMECryptographerImpl.sign(Message message,
java.security.cert.X509Certificate signingCertificate)
Signs a message with the provided certificate. |
SignedEntity |
Cryptographer.sign(Message message,
java.security.cert.X509Certificate signingCertificate)
Signs a message with the provided certificate. |
| Uses of Message in org.nhindirect.stagent.mail |
|---|
| Methods in org.nhindirect.stagent.mail that return Message | |
|---|---|
static Message |
WrappedMessage.create(Message message,
java.lang.String[] headersToCopy)
Wraps a messaging into a new message by creating a message wrapper, copying only desired headers into the wrapper, and pushing the entire original message (including headers) into the body of the wrapper. |
static Message |
WrappedMessage.create(java.lang.String message,
java.lang.String[] headersToCopy)
Wraps a messaging (represented in a raw string) into a new message by creating a message wrapper, copying only desired headers into the wrapper, and pushing the entire original message (including headers) into the body of the wrapper. |
static Message |
WrappedMessage.extract(Message message)
Extracts the wrapped message from the wrapper. |
| Methods in org.nhindirect.stagent.mail with parameters of type Message | |
|---|---|
static Message |
WrappedMessage.create(Message message,
java.lang.String[] headersToCopy)
Wraps a messaging into a new message by creating a message wrapper, copying only desired headers into the wrapper, and pushing the entire original message (including headers) into the body of the wrapper. |
static Message |
WrappedMessage.extract(Message message)
Extracts the wrapped message from the wrapper. |
static boolean |
WrappedMessage.isWrapped(Message message)
Determines if a message is wrapped. |
| Uses of Message in org.nhindirect.stagent.mail.notifications |
|---|
| Subclasses of Message in org.nhindirect.stagent.mail.notifications | |
|---|---|
class |
NotificationMessage
Represents a message disposition notification (MDN) sent to a message sender, as per RFC 3798 |
| Methods in org.nhindirect.stagent.mail.notifications with parameters of type Message | |
|---|---|
static NotificationMessage |
NotificationMessage.createNotificationFor(Message message,
Notification notification)
Takes a message and constructs an MDN. |
static NotificationMessage |
NotificationHelper.createNotificationMessage(Message message,
javax.mail.internet.InternetAddress from,
Notification notification)
Creates an MDN Notification message for the given message |
static java.util.Collection<NotificationMessage> |
NotificationHelper.createNotificationMessages(Message message,
java.util.Collection<javax.mail.internet.InternetAddress> senders,
NotificationCreator notificationCreator)
Creates a notification message (MDN) for the given message to the senders. |
static java.lang.String |
NotificationHelper.getNotificationDestination(Message message)
Gets the value of the Disposition-Notification-To header, which indicates where the original UA requested notification be sent. |
static java.util.Collection<javax.mail.internet.InternetAddress> |
NotificationHelper.getNotificationDestinationAddresses(Message message)
Gets the mail addresses contained in the Disposition-Notification-To header, which indicates where the original UA requested notification be sent. |
static boolean |
NotificationHelper.hasNotificationRequest(Message message)
Tests if this message has requested MDN notification. |
static boolean |
NotificationHelper.isMDN(Message message)
Tests if this message is an MDN |
static void |
NotificationHelper.requestNotification(Message message)
Sets the header values for this message to request message disposition notification. |
static boolean |
NotificationHelper.shouldIssueNotification(Message message)
Deprecated. as of version 1.1. The Direct Project model infers that a notification message should be sent regardless if a notification request is requested. The gateway agent model should now determine whether or not to send a notification based on the following criteria: 1) A preference in the gateway indicates that the agent/gateway should send notifications. 2) This message is not a MDN messages. This can be determined by calling NotificationHelper.isMDN(Message). |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||