| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectalt.javax.mail.SessionImplConstructor Summary | |
| |
Method Summary | |
boolean |
|
Session |
|
Session |
|
Folder |
|
Session |
|
Session |
|
PasswordAuthentication |
|
Properties | |
String |
|
Provider |
|
Provider[] | |
Store |
|
Store |
|
Store |
|
Store |
|
Transport | |
Transport |
|
Transport |
|
Transport |
|
Transport |
|
javax.mail.Session | |
PasswordAuthentication |
|
void |
|
void |
|
void |
|
public Session getDefaultInstance(Properties props)
- Specified by:
- getDefaultInstance in interface Session
public Session getDefaultInstance(Properties props, Authenticator authenticator)
- Specified by:
- getDefaultInstance in interface Session
public Folder getFolder(URLName url)
throws MessagingExceptionpublic Session getInstance(Properties props)
- Specified by:
- getInstance in interface Session
public Session getInstance(Properties props, Authenticator authenticator)
- Specified by:
- getInstance in interface Session
public PasswordAuthentication getPasswordAuthentication(URLName url)
- Specified by:
- getPasswordAuthentication in interface Session
public Provider getProvider(String protocol)
throws NoSuchProviderException
- Specified by:
- getProvider in interface Session
public Store getStore()
throws NoSuchProviderExceptionpublic Store getStore(Provider provider)
throws NoSuchProviderExceptionpublic Store getStore(String protocol)
throws NoSuchProviderExceptionpublic Store getStore(URLName url)
throws NoSuchProviderExceptionpublic Transport getTransport() throws NoSuchProviderException
- Specified by:
- getTransport in interface Session
public Transport getTransport(Address address) throws NoSuchProviderException
- Specified by:
- getTransport in interface Session
public Transport getTransport(Provider provider) throws NoSuchProviderException
- Specified by:
- getTransport in interface Session
public Transport getTransport(String protocol) throws NoSuchProviderException
- Specified by:
- getTransport in interface Session
public Transport getTransport(URLName url) throws NoSuchProviderException
- Specified by:
- getTransport in interface Session
public javax.mail.Session getWrappedSession()
- Specified by:
- getWrappedSession in interface Session
public PasswordAuthentication requestPasswordAuthentication(java.net.InetAddress addr,
int port,
String protocol,
String prompt,
String defaultUserName)
- Specified by:
- requestPasswordAuthentication in interface Session
public void setPasswordAuthentication(URLName url,
PasswordAuthentication pw)
- Specified by:
- setPasswordAuthentication in interface Session
public void setProvider(Provider provider)
throws NoSuchProviderException
- Specified by:
- setProvider in interface Session