Package | Description |
---|---|
com.sun.mail.gimap |
An EXPERIMENTAL IMAP protocol provider that supports the
Gmail-specific IMAP protocol extensions
.
|
com.sun.mail.imap |
An IMAP protocol provider for the JavaMail API
that provides access to an IMAP message store.
|
com.sun.mail.pop3 |
A POP3 protocol provider for the JavaMail API
that provides access to a POP3 message store.
|
com.sun.mail.smtp |
An SMTP protocol provider for the JavaMail API
that provides access to an SMTP server.
|
javax.mail |
The JavaMail™ API
provides classes that model a mail system.
|
Modifier and Type | Class and Description |
---|---|
class |
GmailProvider
The Gmail IMAP protocol provider.
|
class |
GmailSSLProvider
The Gmail IMAP protocol provider.
|
Modifier and Type | Class and Description |
---|---|
class |
IMAPProvider
The IMAP protocol provider.
|
class |
IMAPSSLProvider
The IMAP SSL protocol provider.
|
Modifier and Type | Class and Description |
---|---|
class |
POP3Provider
The POP3 protocol provider.
|
class |
POP3SSLProvider
The POP3 SSL protocol provider.
|
Modifier and Type | Class and Description |
---|---|
class |
SMTPProvider
The SMTP protocol provider.
|
class |
SMTPSSLProvider
The SMTP SSL protocol provider.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Provider> |
Session.providers |
private java.util.Map<java.lang.String,Provider> |
Session.providersByClassName |
private java.util.Map<java.lang.String,Provider> |
Session.providersByProtocol |
Modifier and Type | Method and Description |
---|---|
Provider |
Session.getProvider(java.lang.String protocol)
Returns the default Provider for the protocol
specified.
|
private Provider |
Session.getProviderByClassName(java.lang.String className)
Get the Provider that uses the specified class name.
|
private Provider |
Session.getProviderByProtocol(java.lang.String protocol)
Get the Provider for the specified protocol.
|
Provider[] |
Session.getProviders()
This method returns an array of all the implementations installed
via the javamail.[default.]providers files that can
be loaded using the ClassLoader available to this application.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.addProvider(Provider provider)
Add a provider to the session.
|
private <T extends Service> |
Session.getService(Provider provider,
URLName url,
java.lang.Class<T> type)
Get a Service object.
|
Store |
Session.getStore(Provider provider)
Get an instance of the store specified by Provider.
|
private Store |
Session.getStore(Provider provider,
URLName url)
Get an instance of the store specified by Provider.
|
Transport |
Session.getTransport(Provider provider)
Get an instance of the transport specified in the Provider.
|
private Transport |
Session.getTransport(Provider provider,
URLName url)
Get a Transport object using the given provider and urlname.
|
void |
Session.setProvider(Provider provider)
Set the passed Provider to be the default implementation
for the protocol in Provider.protocol overriding any previous values.
|