Package alt.javax.mail
Class SessionImpl
java.lang.Object
alt.javax.mail.SessionImpl
- All Implemented Interfaces:
Session
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDebug()getDefaultInstance(Properties props) getDefaultInstance(Properties props, Authenticator authenticator) FoldergetFolder(URLName url) getInstance(Properties props) getInstance(Properties props, Authenticator authenticator) PasswordAuthenticationgetPasswordAuthentication(URLName url) getProperty(String name) ProvidergetProvider(String protocol) Provider[]StoregetStore()StoreStoregetStore(Provider provider) StoregetStore(URLName url) getTransport(Address address) getTransport(String protocol) getTransport(Provider provider) getTransport(URLName url) javax.mail.SessionPasswordAuthenticationrequestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String defaultUserName) voidsetDebug(boolean debug) voidsetPasswordAuthentication(URLName url, PasswordAuthentication pw) voidsetProvider(Provider provider)
-
Constructor Details
-
SessionImpl
public SessionImpl(javax.mail.Session session)
-
-
Method Details
-
getInstance
- Specified by:
getInstancein interfaceSession
-
getInstance
- Specified by:
getInstancein interfaceSession
-
getDefaultInstance
- Specified by:
getDefaultInstancein interfaceSession
-
getDefaultInstance
- Specified by:
getDefaultInstancein interfaceSession
-
setDebug
public void setDebug(boolean debug) -
getDebug
public boolean getDebug() -
getProviders
public Provider[] getProviders()- Specified by:
getProvidersin interfaceSession
-
getProvider
- Specified by:
getProviderin interfaceSession- Throws:
NoSuchProviderException
-
setProvider
public void setProvider(Provider provider) throws NoSuchProviderException - Specified by:
setProviderin interfaceSession- Throws:
NoSuchProviderException
-
getStore
public Store getStore() throws NoSuchProviderException -
getStore
-
getStore
public Store getStore(URLName url) throws NoSuchProviderException -
getStore
public Store getStore(Provider provider) throws NoSuchProviderException -
getFolder
public Folder getFolder(URLName url) throws MessagingException -
getTransport
- Specified by:
getTransportin interfaceSession- Throws:
NoSuchProviderException
-
getTransport
- Specified by:
getTransportin interfaceSession- Throws:
NoSuchProviderException
-
getTransport
- Specified by:
getTransportin interfaceSession- Throws:
NoSuchProviderException
-
getTransport
- Specified by:
getTransportin interfaceSession- Throws:
NoSuchProviderException
-
getTransport
- Specified by:
getTransportin interfaceSession- Throws:
NoSuchProviderException
-
setPasswordAuthentication
public void setPasswordAuthentication(URLName url, PasswordAuthentication pw) - Specified by:
setPasswordAuthenticationin interfaceSession
-
getPasswordAuthentication
public PasswordAuthentication getPasswordAuthentication(URLName url) - Specified by:
getPasswordAuthenticationin interfaceSession
-
requestPasswordAuthentication
public PasswordAuthentication requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String defaultUserName) - Specified by:
requestPasswordAuthenticationin interfaceSession
-
getProperties
- Specified by:
getPropertiesin interfaceSession
-
getProperty
- Specified by:
getPropertyin interfaceSession
-
getWrappedSession
public javax.mail.Session getWrappedSession()- Specified by:
getWrappedSessionin interfaceSession
-