Package akka.http.scaladsl
Class HttpsConnectionContext
java.lang.Object
akka.http.javadsl.ConnectionContext
akka.http.javadsl.HttpsConnectionContext
akka.http.scaladsl.HttpsConnectionContext
- All Implemented Interfaces:
ConnectionContext
public final class HttpsConnectionContext
extends HttpsConnectionContext
implements ConnectionContext
Context with all information needed to set up a HTTPS connection
This constructor is INTERNAL API, use ConnectionContext.https instead
-
Constructor Summary
ConstructorDescriptionHttpsConnectionContext
(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.prefer ConnectionContext.httpsClient or ConnectionContext.httpsServer.HttpsConnectionContext
(scala.util.Either<DeprecatedSslContextParameters, scala.Function1<scala.Option<scala.Tuple2<String, Object>>, SSLEngine>> sslContextData) -
Method Summary
Modifier and TypeMethodDescriptionscala.Option<akka.stream.TLSClientAuth>
Deprecated.here for binary compatibility.protected final int
scala.Option<scala.collection.immutable.Seq<String>>
Deprecated.here for binary compatibility.scala.Option<scala.collection.immutable.Seq<String>>
Deprecated.here for binary compatibility.akka.stream.TLSProtocol.NegotiateNewSession
Deprecated.here for binary compatibility.Optional<akka.stream.TLSClientAuth>
Deprecated.here for binary compatibility.Deprecated.here for binary compatibility.Deprecated.here for binary compatibility.Deprecated.not always available.Deprecated.here for binary compatibility.scala.Option<com.typesafe.sslconfig.akka.AkkaSSLConfig>
Deprecated.here for binary compatibility.Deprecated.not always available.scala.util.Either<DeprecatedSslContextParameters,
scala.Function1<scala.Option<scala.Tuple2<String, Object>>, SSLEngine>> scala.Option<SSLParameters>
Deprecated.here for binary compatibility.Methods inherited from class akka.http.javadsl.HttpsConnectionContext
isSecure
Methods inherited from class akka.http.javadsl.ConnectionContext
https, https, https, httpsClient, httpsClient, httpsServer, httpsServer, noEncryption
-
Constructor Details
-
HttpsConnectionContext
public HttpsConnectionContext(scala.util.Either<DeprecatedSslContextParameters, scala.Function1<scala.Option<scala.Tuple2<String, Object>>, SSLEngine>> sslContextData) -
HttpsConnectionContext
public HttpsConnectionContext(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.prefer ConnectionContext.httpsClient or ConnectionContext.httpsServer. Since 10.2.0.
-
-
Method Details
-
sslContextData
public scala.util.Either<DeprecatedSslContextParameters,scala.Function1<scala.Option<scala.Tuple2<String, sslContextData()Object>>, SSLEngine>> -
defaultPort
protected final int defaultPort()- Specified by:
defaultPort
in interfaceConnectionContext
-
sslContext
Deprecated.not always available. Since 10.2.0. -
sslConfig
public scala.Option<com.typesafe.sslconfig.akka.AkkaSSLConfig> sslConfig()Deprecated.here for binary compatibility. Since 10.2.0.- Specified by:
sslConfig
in classConnectionContext
-
enabledCipherSuites
Deprecated.here for binary compatibility. Since 10.2.0. -
enabledProtocols
Deprecated.here for binary compatibility. Since 10.2.0. -
clientAuth
public scala.Option<akka.stream.TLSClientAuth> clientAuth()Deprecated.here for binary compatibility. Since 10.2.0. -
sslParameters
Deprecated.here for binary compatibility. Since 10.2.0. -
firstSession
public akka.stream.TLSProtocol.NegotiateNewSession firstSession()Deprecated.here for binary compatibility. Since 10.2.0. -
getSslContext
Deprecated.not always available. Since 10.2.0.- Specified by:
getSslContext
in classHttpsConnectionContext
-
getEnabledCipherSuites
Deprecated.here for binary compatibility. Since 10.2.0.- Specified by:
getEnabledCipherSuites
in classHttpsConnectionContext
-
getEnabledProtocols
Deprecated.here for binary compatibility. Since 10.2.0.- Specified by:
getEnabledProtocols
in classHttpsConnectionContext
-
getClientAuth
Deprecated.here for binary compatibility. Since 10.2.0.- Specified by:
getClientAuth
in classHttpsConnectionContext
-
getSslParameters
Deprecated.here for binary compatibility. Since 10.2.0.- Specified by:
getSslParameters
in classHttpsConnectionContext
-