Home » openjdk-7 » sun.security » ssl » [javadoc | source]
sun.security.ssl
final class: SSLSessionContextImpl [javadoc | source]
java.lang.Object
   sun.security.ssl.SSLSessionContextImpl

All Implemented Interfaces:
    SSLSessionContext

Nested Class Summary:
final class  SSLSessionContextImpl.SessionCacheVisitor   
Constructor:
 SSLSessionContextImpl() 
Method from sun.security.ssl.SSLSessionContextImpl Summary:
get,   get,   getIds,   getSession,   getSessionCacheSize,   getSessionTimeout,   isTimedout,   put,   remove,   setSessionCacheSize,   setSessionTimeout
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.security.ssl.SSLSessionContextImpl Detail:
 SSLSessionImpl get(byte[] id) 
 SSLSessionImpl get(String hostname,
    int port) 
 public Enumeration<byte> getIds() 
    Returns an enumeration of the active SSL sessions.
 public SSLSession getSession(byte[] sessionId) 
    Returns the SSLSession bound to the specified session id.
 public int getSessionCacheSize() 
    Gets the size of the cache used for storing SSLSession objects.
 public int getSessionTimeout() 
    Gets the timeout limit for cached SSLSession objects
 boolean isTimedout(SSLSession sess) 
  void put(SSLSessionImpl s) 
  void remove(SessionId key) 
 public  void setSessionCacheSize(int size) throws IllegalArgumentException 
    Sets the size of the cache used for storing SSLSession objects.
 public  void setSessionTimeout(int seconds) throws IllegalArgumentException 
    Sets the timeout limit for cached SSLSession objects Note that after reset the timeout, the cached session before should be timed within the shorter one of the old timeout and the new timeout.