|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Session | |
javax.mail | |
javax.mail.internet |
Uses of Session in javax.mail |
Fields in javax.mail declared as Session | |
protected Session |
Message.session
The Session associated with this message. |
protected Session |
Service.session
The session from which this service was created. |
private static Session |
Session.DEFAULT_SESSION
|
Methods in javax.mail that return Session | |
Session |
MessageContext.getSession()
Return the session associated with the Message containing this Part. |
static Session |
Session.getInstance(java.util.Properties properties,
Authenticator authenticator)
Create a new session initialized with the supplied properties which uses the supplied authenticator. |
static Session |
Session.getInstance(java.util.Properties properties)
Create a new session initialized with the supplied properties with no authenticator. |
static Session |
Session.getDefaultInstance(java.util.Properties properties)
Get the "default" instance assuming no authenticator is required. |
static Session |
Session.getDefaultInstance(java.util.Properties properties,
Authenticator authenticator)
Get the "default" session. |
Constructors in javax.mail with parameters of type Session | |
Message(Session session)
Constructor initializing the session; intended to by used by client created instances. |
|
Service(Session session,
URLName url)
Construct a new Service. |
|
Store(Session session,
URLName name)
Constructor specifying session and url of this store. |
|
Transport(Session session,
URLName name)
Constructor taking Session and URLName parameters required for Service.Service(Session, URLName) . |
Uses of Session in javax.mail.internet |
Methods in javax.mail.internet with parameters of type Session | |
static InternetAddress |
InternetAddress.getLocalAddress(Session session)
Return an InternetAddress representing the current user. |
Constructors in javax.mail.internet with parameters of type Session | |
MimeMessage(Session session)
Create a new MimeMessage. |
|
MimeMessage(Session session,
java.io.InputStream in)
Create a MimeMessage by reading an parsing the data from the supplied stream. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |