public abstract class OpenSslSessionContext extends Object implements SSLSessionContext
SSLSessionContext implementation.| Modifier and Type | Method and Description |
|---|---|
Enumeration<byte[]> |
getIds() |
SSLSession |
getSession(byte[] bytes) |
abstract boolean |
isSessionCacheEnabled()
Return
true if caching of SSL sessions is enabled, false otherwise. |
abstract void |
setSessionCacheEnabled(boolean enabled)
Enable or disable caching of SSL sessions.
|
void |
setTicketKeys(byte[] keys)
Sets the SSL session ticket keys of this context.
|
OpenSslSessionStats |
stats()
Returns the stats of this context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSessionCacheSize, getSessionTimeout, setSessionCacheSize, setSessionTimeoutpublic SSLSession getSession(byte[] bytes)
getSession in interface SSLSessionContextpublic Enumeration<byte[]> getIds()
getIds in interface SSLSessionContextpublic void setTicketKeys(byte[] keys)
public abstract void setSessionCacheEnabled(boolean enabled)
public abstract boolean isSessionCacheEnabled()
true if caching of SSL sessions is enabled, false otherwise.public OpenSslSessionStats stats()
Copyright © 2008–2015 The Netty Project. All rights reserved.