Package akka.http.javadsl.model.headers
Class TlsSessionInfo
- java.lang.Object
-
- akka.http.javadsl.model.HttpHeader
-
- akka.http.scaladsl.model.HttpHeader
-
- akka.http.javadsl.model.headers.TlsSessionInfo
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
- Direct Known Subclasses:
Tls$minusSession$minusInfo
public abstract class TlsSessionInfo extends HttpHeader
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 settingakka.http.[client|server].parsing.tls-session-info-header = on
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
-
Constructor Summary
Constructors Constructor Description TlsSessionInfo()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static TlsSessionInfo
create(javax.net.ssl.SSLSession session)
abstract javax.net.ssl.SSLSession
getSession()
-
Methods inherited from class akka.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
-
Methods inherited from class akka.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 akka.http.impl.util.Renderable
render
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
-
-
-
Method Detail
-
getSession
public abstract javax.net.ssl.SSLSession getSession()
- Returns:
- the SSLSession this message was received over.
-
create
public static TlsSessionInfo create(javax.net.ssl.SSLSession session)
-
-