Package org.conscrypt

Class SSLNullSession

java.lang.Object
org.conscrypt.SSLNullSession
All Implemented Interfaces:
Cloneable, SSLSession, ConscryptSession

final class SSLNullSession extends Object implements ConscryptSession, Cloneable
This is returned in the place of a SSLSession when no TLS connection could be negotiated, but one was requested from a method that can't throw an exception such as SSLSocket.getSession() before SSLSocket.startHandshake() is called.