Package akka.http.scaladsl
Class ConnectionContext$
java.lang.Object
akka.http.scaladsl.ConnectionContext$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ConnectionContext$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhttps
(SSLContext sslContext, scala.Option<com.typesafe.sslconfig.akka.AkkaSSLConfig> sslConfig, scala.Option<scala.collection.immutable.Seq<String>> enabledCipherSuites, scala.Option<scala.collection.immutable.Seq<String>> enabledProtocols, scala.Option<akka.stream.TLSClientAuth> clientAuth, scala.Option<SSLParameters> sslParameters) Deprecated.use httpsClient, httpsServer, or the lower-level SSLEngine-based constructor.httpsClient
(SSLContext context) Creates an HttpsConnectionContext for client-side use from the given SSLContext.httpsClient
(scala.Function2<String, Object, SSLEngine> createSSLEngine) If you want complete control over how to create the SSLEngine you can use this method.httpsServer
(SSLContext sslContext) Creates an HttpsConnectionContext for server-side use from the given SSLContext.httpsServer
(scala.Function0<SSLEngine> createSSLEngine) If you want complete control over how to create the SSLEngine you can use this method.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ConnectionContext$
public ConnectionContext$()
-
-
Method Details
-
httpsServer
Creates an HttpsConnectionContext for server-side use from the given SSLContext.- Parameters:
sslContext
- (undocumented)- Returns:
- (undocumented)
-
httpsServer
If you want complete control over how to create the SSLEngine you can use this method.- Parameters:
createSSLEngine
- (undocumented)- Returns:
- (undocumented)
-
httpsClient
Creates an HttpsConnectionContext for client-side use from the given SSLContext.- Parameters:
context
- (undocumented)- Returns:
- (undocumented)
-
httpsClient
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.
- Parameters:
createSSLEngine
- (undocumented)- Returns:
- (undocumented)
-
https
public HttpsConnectionContext https(SSLContext sslContext, scala.Option<com.typesafe.sslconfig.akka.AkkaSSLConfig> sslConfig, scala.Option<scala.collection.immutable.Seq<String>> enabledCipherSuites, scala.Option<scala.collection.immutable.Seq<String>> enabledProtocols, scala.Option<akka.stream.TLSClientAuth> clientAuth, scala.Option<SSLParameters> sslParameters) Deprecated.use httpsClient, httpsServer, or the lower-level SSLEngine-based constructor. Since 10.2.0. -
noEncryption
-