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 TlsSessionInfo
create
(SSLSession session) abstract SSLSession
Methods inherited from class org.apache.pekko.http.javadsl.model.headers.CustomHeader
name, value
Methods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, parse, unapply, unsafeToString
Methods inherited from class org.apache.pekko.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponses
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pekko.http.impl.util.Renderable
render
Methods 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
-