Package jakarta.mail

Interface MessageAware

All Known Implementing Classes:
MimePartDataSource

public interface MessageAware
An interface optionally implemented by DataSources to supply information to a DataContentHandler about the message context in which the data content object is operating.
Since:
JavaMail 1.1
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the message context.
  • Method Details

    • getMessageContext

      MessageContext getMessageContext()
      Return the message context.
      Returns:
      the message context