Returns the <code>SSLSession</code> in use in this
<code>SSLEngine</code>.
<P>
These can be long lived, and frequently correspond to an entire
login session for some user. The session specifies a particular
cipher suite which is being actively used by all connections in
that session, as well as the identities of the session's client
and server.
<P>
Unlike {@link SSLSocket#getSession()}
this method does not block until handshaking is complete.
<P>
Until the initial handshake has completed, this method returns
a session object which reports an invalid cipher suite of
"SSL_NULL_WITH_NULL_NULL".
@return the <code>SSLSession</code> for this <code>SSLEngine</code>
@see SSLSession
Returns the <code>SSLSession</code> in use in this <code>SSLEngine</code>. <P> These can be long lived, and frequently correspond to an entire login session for some user. The session specifies a particular cipher suite which is being actively used by all connections in that session, as well as the identities of the session's client and server. <P> Unlike {@link SSLSocket#getSession()} this method does not block until handshaking is complete. <P> Until the initial handshake has completed, this method returns a session object which reports an invalid cipher suite of "SSL_NULL_WITH_NULL_NULL".
@return the <code>SSLSession</code> for this <code>SSLEngine</code> @see SSLSession