Packages

t

org.apache.pekko.http.scaladsl

DefaultSSLContextCreation

trait DefaultSSLContextCreation extends AnyRef

TLS configuration for an HTTPS server binding or client connection. For the sslContext please refer to the com.typeasfe.ssl-config library. The remaining four parameters configure the initial session that will be negotiated, see pekko.stream.TLSProtocol.NegotiateNewSession for details.

Annotations
@deprecated
Deprecated

(Since version Akka HTTP 10.2.0) use ConnectionContext.httpsServer and httpsClient directly

Source
Http.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultSSLContextCreation
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Concrete Value Members

  1. def sslConfig: PekkoSSLConfig

Deprecated Value Members

  1. def createClientHttpsContext(sslConfig: PekkoSSLConfig): HttpsConnectionContext
    Annotations
    @deprecated
    Deprecated

    (Since version Akka HTTP 10.2.0) use ConnectionContext.httpClient(sslContext) instead

  2. def createDefaultClientHttpsContext(): HttpsConnectionContext
    Annotations
    @deprecated
    Deprecated

    (Since version Akka HTTP 10.2.0) use ConnectionContext.httpServer instead

  3. def createServerHttpsContext(sslConfig: PekkoSSLConfig): HttpsConnectionContext
    Annotations
    @deprecated
    Deprecated

    (Since version Akka HTTP 10.2.0) use ConnectionContext.httpServer instead

  4. def validateAndWarnAboutLooseSettings(): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version Akka HTTP 10.2.0) PekkoSSLConfig usage is deprecated