Package org.apache.pekko.stream
Class TLSProtocol.SessionBytes
java.lang.Object
org.apache.pekko.stream.TLSProtocol.SessionBytes
- All Implemented Interfaces:
- Serializable,- ScalaSessionAPI,- TLSProtocol.SslTlsInbound,- scala.Equals,- scala.Product
- Enclosing class:
- TLSProtocol
public static final class TLSProtocol.SessionBytes
extends Object
implements TLSProtocol.SslTlsInbound, ScalaSessionAPI, scala.Product, Serializable
Plaintext bytes emitted by the SSLEngine are received over one specific
 encryption session and this class bundles the bytes with the SSLSession
 object. When the session changes due to renegotiation (which can be
 initiated by either party) the new session value will not compare equal to
 the previous one.
 
The Java API for getting session information is given by the SSLSession object, the Scala API adapters are offered below.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbytes()booleancopy(SSLSession session, ByteString bytes) booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>session()The underlyingSSLSession.toString()Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.ProductproductElementNamesMethods inherited from interface org.apache.pekko.stream.scaladsl.ScalaSessionAPIlocalCertificates, localPrincipal, peerCertificates, peerPrincipal
- 
Constructor Details- 
SessionBytes
 
- 
- 
Method Details- 
sessionDescription copied from interface:ScalaSessionAPIThe underlyingSSLSession.- Specified by:
- sessionin interface- ScalaSessionAPI
 
- 
bytes
- 
copy
- 
copy$default$1
- 
copy$default$2
- 
productPrefix- Specified by:
- productPrefixin interface- scala.Product
 
- 
productAritypublic int productArity()- Specified by:
- productArityin interface- scala.Product
 
- 
productElement- Specified by:
- productElementin interface- scala.Product
 
- 
productIterator- Specified by:
- productIteratorin interface- scala.Product
 
- 
canEqual- Specified by:
- canEqualin interface- scala.Equals
 
- 
productElementName- Specified by:
- productElementNamein interface- scala.Product
 
- 
hashCodepublic int hashCode()
- 
toString
- 
equals
 
-