Package | Description |
---|---|
jakarta.mail |
The Jakarta Mail API
provides classes that model a mail system.
|
Modifier and Type | Method and Description |
---|---|
Provider |
Session.getProvider(String protocol)
Returns the default Provider for the protocol
specified.
|
Store |
Session.getStore()
Get a Store object that implements this user's desired Store
protocol.
|
Store |
Session.getStore(Provider provider)
Get an instance of the store specified by Provider.
|
Store |
Session.getStore(String protocol)
Get a Store object that implements the specified protocol.
|
Store |
Session.getStore(URLName url)
Get a Store object for the given URLName.
|
Transport |
Session.getTransport()
Get a Transport object that implements this user's desired
Transport protcol.
|
Transport |
Session.getTransport(Address address)
Get a Transport object that can transport a Message of the
specified address type.
|
Transport |
Session.getTransport(Provider provider)
Get an instance of the transport specified in the Provider.
|
Transport |
Session.getTransport(String protocol)
Get a Transport object that implements the specified protocol.
|
Transport |
Session.getTransport(URLName url)
Get a Transport object for the given 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.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.