- java.lang.Object
-
- io.netty5.handler.ssl.OpenSslSessionContext
-
- io.netty5.handler.ssl.OpenSslServerSessionContext
-
- All Implemented Interfaces:
SSLSessionContext
public final class OpenSslServerSessionContext extends OpenSslSessionContext
OpenSslSessionContext
implementation which offers extra methods which are only useful for the server-side.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
setSessionIdContext(byte[] sidCtx)
Set the context within which session be reused (server side only) See man SSL_CTX_set_session_id_context-
Methods inherited from class io.netty5.handler.ssl.OpenSslSessionContext
getIds, getSession, getSessionCacheSize, getSessionTimeout, isSessionCacheEnabled, setSessionCacheEnabled, setSessionCacheSize, setSessionTimeout, setTicketKeys, setTicketKeys, stats
-
-
-
-
Method Detail
-
setSessionIdContext
public boolean setSessionIdContext(byte[] sidCtx)
Set the context within which session be reused (server side only) See man SSL_CTX_set_session_id_context- Parameters:
sidCtx
- can be any kind of binary data, it is therefore possible to use e.g. the name of the application and/or the hostname and/or service name- Returns:
true
if success,false
otherwise.
-
-