Packages

object ConnectionContext

Source
ConnectionContext.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConnectionContext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def httpsClient(createSSLEngine: (String, Int) => SSLEngine): HttpsConnectionContext

    If you want complete control over how to create the SSLEngine you can use this method.

    If you want complete control over how to create the SSLEngine you can use this method.

    Note that this means it is up to you to make sure features like SNI and hostname verification are enabled as needed.

    Annotations
    @ApiMayChange()
  2. def httpsClient(context: SSLContext): HttpsConnectionContext

    Creates an HttpsConnectionContext for client-side use from the given SSLContext.

  3. def httpsServer(createSSLEngine: () => SSLEngine): HttpsConnectionContext

    If you want complete control over how to create the SSLEngine you can use this method.

    If you want complete control over how to create the SSLEngine you can use this method.

    Annotations
    @ApiMayChange()
  4. def httpsServer(sslContext: SSLContext): HttpsConnectionContext

    Creates an HttpsConnectionContext for server-side use from the given SSLContext.

  5. def noEncryption(): HttpConnectionContext