java.lang.Object
alt.javax.mail.SessionImpl
- All Implemented Interfaces:
- Session
- public class SessionImpl
- extends java.lang.Object
- implements Session
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
private final javax.mail.Session session
SessionImpl
public SessionImpl(javax.mail.Session session)
getInstance
public Session getInstance(java.util.Properties props,
javax.mail.Authenticator authenticator)
- Specified by:
getInstance in interface Session
getInstance
public Session getInstance(java.util.Properties props)
- Specified by:
getInstance in interface Session
getDefaultInstance
public Session getDefaultInstance(java.util.Properties props,
javax.mail.Authenticator authenticator)
- Specified by:
getDefaultInstance in interface Session
getDefaultInstance
public Session getDefaultInstance(java.util.Properties props)
- Specified by:
getDefaultInstance in interface Session
setDebug
public void setDebug(boolean debug)
- Specified by:
setDebug in interface Session
getDebug
public boolean getDebug()
- Specified by:
getDebug in interface Session
getProviders
public javax.mail.Provider[] getProviders()
- Specified by:
getProviders in interface Session
getProvider
public javax.mail.Provider getProvider(java.lang.String protocol)
throws javax.mail.NoSuchProviderException
- Specified by:
getProvider in interface Session
setProvider
public void setProvider(javax.mail.Provider provider)
throws javax.mail.NoSuchProviderException
- Specified by:
setProvider in interface Session
getStore
public javax.mail.Store getStore()
throws javax.mail.NoSuchProviderException
- Specified by:
getStore in interface Session
getStore
public javax.mail.Store getStore(java.lang.String protocol)
throws javax.mail.NoSuchProviderException
- Specified by:
getStore in interface Session
getStore
public javax.mail.Store getStore(javax.mail.URLName url)
throws javax.mail.NoSuchProviderException
- Specified by:
getStore in interface Session
getStore
public javax.mail.Store getStore(javax.mail.Provider provider)
throws javax.mail.NoSuchProviderException
- Specified by:
getStore in interface Session
getFolder
public javax.mail.Folder getFolder(javax.mail.URLName url)
throws javax.mail.MessagingException
- Specified by:
getFolder in interface Session
getTransport
public Transport getTransport()
throws javax.mail.NoSuchProviderException
- Specified by:
getTransport in interface Session
getTransport
public Transport getTransport(java.lang.String protocol)
throws javax.mail.NoSuchProviderException
- Specified by:
getTransport in interface Session
getTransport
public Transport getTransport(javax.mail.URLName url)
throws javax.mail.NoSuchProviderException
- Specified by:
getTransport in interface Session
getTransport
public Transport getTransport(javax.mail.Provider provider)
throws javax.mail.NoSuchProviderException
- Specified by:
getTransport in interface Session
getTransport
public Transport getTransport(javax.mail.Address address)
throws javax.mail.NoSuchProviderException
- Specified by:
getTransport in interface Session
setPasswordAuthentication
public void setPasswordAuthentication(javax.mail.URLName url,
javax.mail.PasswordAuthentication pw)
- Specified by:
setPasswordAuthentication in interface Session
getPasswordAuthentication
public javax.mail.PasswordAuthentication getPasswordAuthentication(javax.mail.URLName url)
- Specified by:
getPasswordAuthentication in interface Session
requestPasswordAuthentication
public javax.mail.PasswordAuthentication requestPasswordAuthentication(java.net.InetAddress addr,
int port,
java.lang.String protocol,
java.lang.String prompt,
java.lang.String defaultUserName)
- Specified by:
requestPasswordAuthentication in interface Session
getProperties
public java.util.Properties getProperties()
- Specified by:
getProperties in interface Session
getProperty
public java.lang.String getProperty(java.lang.String name)
- Specified by:
getProperty in interface Session
getWrappedSession
public javax.mail.Session getWrappedSession()
- Specified by:
getWrappedSession in interface Session