Class TlsSessionInfo
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.CustomHeader
org.apache.pekko.http.javadsl.model.headers.TlsSessionInfo
- All Implemented Interfaces:
Renderable,ToStringRenderable
- Direct Known Subclasses:
Tls$minusSession$minusInfo
Model for the synthetic `Tls-Session-Info` header which carries the SSLSession of the connection
the message carrying this header was received with.
This header will only be added if it enabled in the configuration by setting
pekko.http.[client|server].parsing.tls-session-info-header = on.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TlsSessionInfocreate(SSLSession session) abstract SSLSessionMethods inherited from class org.apache.pekko.http.javadsl.model.headers.CustomHeader
name, valueMethods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, parse, unapply, unsafeToStringMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponsesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.Renderable
renderMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
TlsSessionInfo
public TlsSessionInfo()
-
-
Method Details
-
getSession
- Returns:
- the SSLSession this message was received over.
-
create
-