public abstract class OpenSslSessionContext extends Object implements SSLSessionContext
SSLSessionContext implementation.| Modifier and Type | Method and Description |
|---|---|
Enumeration<byte[]> |
getIds() |
SSLSession |
getSession(byte[] bytes) |
int |
getSessionCacheSize() |
int |
getSessionTimeout() |
boolean |
isSessionCacheEnabled()
Return
true if caching of SSL sessions is enabled, false otherwise. |
void |
setSessionCacheEnabled(boolean enabled)
Enable or disable caching of SSL sessions.
|
void |
setSessionCacheSize(int size) |
void |
setSessionTimeout(int seconds) |
void |
setTicketKeys(byte[] keys)
Deprecated.
|
void |
setTicketKeys(OpenSslSessionTicketKey... keys)
Sets the SSL session ticket keys of this context.
|
OpenSslSessionStats |
stats()
Returns the stats of this context.
|
public void setSessionCacheSize(int size)
setSessionCacheSize in interface SSLSessionContextpublic int getSessionCacheSize()
getSessionCacheSize in interface SSLSessionContextpublic void setSessionTimeout(int seconds)
setSessionTimeout in interface SSLSessionContextpublic int getSessionTimeout()
getSessionTimeout in interface SSLSessionContextpublic SSLSession getSession(byte[] bytes)
getSession in interface SSLSessionContextpublic Enumeration<byte[]> getIds()
getIds in interface SSLSessionContext@Deprecated public void setTicketKeys(byte[] keys)
setTicketKeys(OpenSslSessionTicketKey...).public void setTicketKeys(OpenSslSessionTicketKey... keys)
public void setSessionCacheEnabled(boolean enabled)
public boolean isSessionCacheEnabled()
true if caching of SSL sessions is enabled, false otherwise.public OpenSslSessionStats stats()
Copyright © 2008–2025 The Netty Project. All rights reserved.