Package io.netty.handler.ssl
Interface OpenSslSession
-
- All Superinterfaces:
javax.net.ssl.SSLSession
- All Known Implementing Classes:
ExtendedOpenSslSession
interface OpenSslSession extends javax.net.ssl.SSLSession
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handshakeFinished()
Finish the handshake and so init everything in theOpenSslSession
that should be accessible by the user.void
tryExpandApplicationBufferSize(int packetLengthDataOnly)
Expand (or increase) the value returned bySSLSession.getApplicationBufferSize()
if necessary.-
Methods inherited from interface javax.net.ssl.SSLSession
getApplicationBufferSize, getCipherSuite, getCreationTime, getId, getLastAccessedTime, getLocalCertificates, getLocalPrincipal, getPacketBufferSize, getPeerCertificateChain, getPeerCertificates, getPeerHost, getPeerPort, getPeerPrincipal, getProtocol, getSessionContext, getValue, getValueNames, invalidate, isValid, putValue, removeValue
-
-
-
-
Method Detail
-
handshakeFinished
void handshakeFinished() throws javax.net.ssl.SSLException
Finish the handshake and so init everything in theOpenSslSession
that should be accessible by the user.- Throws:
javax.net.ssl.SSLException
-
tryExpandApplicationBufferSize
void tryExpandApplicationBufferSize(int packetLengthDataOnly)
Expand (or increase) the value returned bySSLSession.getApplicationBufferSize()
if necessary.This is only called in a synchronized block, so no need to use atomic operations.
- Parameters:
packetLengthDataOnly
- The packet size which exceeds the currentSSLSession.getApplicationBufferSize()
.
-
-