Class 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 setting akka.http.[client|server].parsing.tls-session-info-header = on.
    • Constructor Detail

      • TlsSessionInfo

        public TlsSessionInfo()
    • 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)