object ConnectionContext
- Source
- ConnectionContext.scala
- Alphabetic
- By Inheritance
- ConnectionContext
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def httpsClient(createEngine: Function2[String, Integer, 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()
- def httpsClient(sslContext: SSLContext): HttpsConnectionContext
Creates an HttpsConnectionContext for client-side use from the given SSLContext.
- def httpsServer(createEngine: Creator[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()
- def httpsServer(sslContext: SSLContext): HttpsConnectionContext
Creates an HttpsConnectionContext for server-side use from the given SSLContext.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noEncryption(): HttpConnectionContext
Used to serve HTTP traffic.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def https(sslContext: SSLContext, enabledCipherSuites: Optional[Collection[String]], enabledProtocols: Optional[Collection[String]], clientAuth: Optional[TLSClientAuth], sslParameters: Optional[SSLParameters]): scaladsl.HttpsConnectionContext
Used to serve HTTPS traffic.
Used to serve HTTPS traffic.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version Akka HTTP 10.2.0) use httpsServer, httpsClient or the method that takes a custom factory
- def https(sslContext: SSLContext, sslConfig: Optional[PekkoSSLConfig], enabledCipherSuites: Optional[Collection[String]], enabledProtocols: Optional[Collection[String]], clientAuth: Optional[TLSClientAuth], sslParameters: Optional[SSLParameters]): scaladsl.HttpsConnectionContext
Used to serve HTTPS traffic.
Used to serve HTTPS traffic.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version Akka HTTP 10.2.0) use httpsServer, httpsClient or the method that takes a custom factory
- def https(sslContext: SSLContext): HttpsConnectionContext
Used to serve HTTPS traffic.
Used to serve HTTPS traffic.
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version Akka HTTP 10.2.0) use httpsServer, httpsClient or the method that takes a custom factory