Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

alt.javax.mail
Class SessionImpl  view SessionImpl download SessionImpl.java

java.lang.Object
  extended byalt.javax.mail.SessionImpl
All Implemented Interfaces:
Session

public class SessionImpl
extends java.lang.Object
implements Session


Field Summary
private  javax.mail.Session session
           
 
Constructor Summary
SessionImpl(javax.mail.Session session)
           
 
Method Summary
 boolean getDebug()
           
 Session getDefaultInstance(java.util.Properties props)
           
 Session getDefaultInstance(java.util.Properties props, javax.mail.Authenticator authenticator)
           
 javax.mail.Folder getFolder(javax.mail.URLName url)
           
 Session getInstance(java.util.Properties props)
           
 Session getInstance(java.util.Properties props, javax.mail.Authenticator authenticator)
           
 javax.mail.PasswordAuthentication getPasswordAuthentication(javax.mail.URLName url)
           
 java.util.Properties getProperties()
           
 java.lang.String getProperty(java.lang.String name)
           
 javax.mail.Provider getProvider(java.lang.String protocol)
           
 javax.mail.Provider[] getProviders()
           
 javax.mail.Store getStore()
           
 javax.mail.Store getStore(javax.mail.Provider provider)
           
 javax.mail.Store getStore(java.lang.String protocol)
           
 javax.mail.Store getStore(javax.mail.URLName url)
           
 Transport getTransport()
           
 Transport getTransport(javax.mail.Address address)
           
 Transport getTransport(javax.mail.Provider provider)
           
 Transport getTransport(java.lang.String protocol)
           
 Transport getTransport(javax.mail.URLName url)
           
 javax.mail.Session getWrappedSession()
           
 javax.mail.PasswordAuthentication requestPasswordAuthentication(java.net.InetAddress addr, int port, java.lang.String protocol, java.lang.String prompt, java.lang.String defaultUserName)
           
 void setDebug(boolean debug)
           
 void setPasswordAuthentication(javax.mail.URLName url, javax.mail.PasswordAuthentication pw)
           
 void setProvider(javax.mail.Provider provider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

private final javax.mail.Session session
Constructor Detail

SessionImpl

public SessionImpl(javax.mail.Session session)
Method Detail

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