Uses of Class
javax.mail.Session
-
Packages that use Session Package Description javax.mail The Jakarta Mail API provides classes that model a mail system.javax.mail.internet Classes specific to Internet mail systems. -
-
Uses of Session in javax.mail
Fields in javax.mail declared as Session Modifier and Type Field Description protected SessionMessage. sessionThe Session object for this Messageprotected SessionService. sessionThe session from which this service was created.Methods in javax.mail that return Session Modifier and Type Method Description static SessionSession. getDefaultInstance(java.util.Properties props)Get the default Session object.static SessionSession. getDefaultInstance(java.util.Properties props, Authenticator authenticator)Get the default Session object.static SessionSession. getInstance(java.util.Properties props)Get a new Session object.static SessionSession. getInstance(java.util.Properties props, Authenticator authenticator)Get a new Session object.SessionMessage. getSession()Return the Session used when this message was created.SessionMessageContext. getSession()Return the Session we're operating in.Constructors in javax.mail with parameters of type Session Constructor Description Message(Session session)Constructor that takes a Session.Service(Session session, URLName urlname)Constructor.Store(Session session, URLName urlname)Constructor.Transport(Session session, URLName urlname)Constructor. -
Uses of Session in javax.mail.internet
Methods in javax.mail.internet with parameters of type Session Modifier and Type Method Description protected MimeMessageMimeMessage. createMimeMessage(Session session)Create and return a MimeMessage object.static InternetAddressInternetAddress. getLocalAddress(Session session)Return an InternetAddress object representing the current user.Constructors in javax.mail.internet with parameters of type Session Constructor Description MimeMessage(Session session)Default constructor.MimeMessage(Session session, java.io.InputStream is)Constructs a MimeMessage by reading and parsing the data from the specified MIME InputStream.
-