public final class HttpsConnectionContext extends HttpsConnectionContext implements ConnectionContext
This constructor is INTERNAL API, use ConnectionContext.https instead
Constructor and Description |
---|
HttpsConnectionContext(scala.util.Either<DeprecatedSslContextParameters,scala.Function1<scala.Option<scala.Tuple2<java.lang.String,java.lang.Object>>,javax.net.ssl.SSLEngine>> sslContextData) |
HttpsConnectionContext(javax.net.ssl.SSLContext sslContext,
scala.Option<com.typesafe.sslconfig.pekko.PekkoSSLConfig> sslConfig,
scala.Option<scala.collection.immutable.Seq<java.lang.String>> enabledCipherSuites,
scala.Option<scala.collection.immutable.Seq<java.lang.String>> enabledProtocols,
scala.Option<org.apache.pekko.stream.TLSClientAuth> clientAuth,
scala.Option<javax.net.ssl.SSLParameters> sslParameters)
Deprecated.
prefer ConnectionContext.httpsClient or ConnectionContext.httpsServer. Since Akka HTTP 10.2.0.
|
Modifier and Type | Method and Description |
---|---|
scala.Option<org.apache.pekko.stream.TLSClientAuth> |
clientAuth()
Deprecated.
here for binary compatibility. Since Akka HTTP 10.2.0.
|
protected int |
defaultPort() |
scala.Option<scala.collection.immutable.Seq<java.lang.String>> |
enabledCipherSuites()
Deprecated.
here for binary compatibility. Since Akka HTTP 10.2.0.
|
scala.Option<scala.collection.immutable.Seq<java.lang.String>> |
enabledProtocols()
Deprecated.
here for binary compatibility. Since Akka HTTP 10.2.0.
|
org.apache.pekko.stream.TLSProtocol.NegotiateNewSession |
firstSession()
Deprecated.
here for binary compatibility. Since Akka HTTP 10.2.0.
|
java.util.Optional<org.apache.pekko.stream.TLSClientAuth> |
getClientAuth()
Deprecated.
here for binary compatibility. Since Akka HTTP 10.2.0.
|
java.util.Optional<java.util.Collection<java.lang.String>> |
getEnabledCipherSuites()
Deprecated.
here for binary compatibility. Since Akka HTTP 10.2.0.
|
java.util.Optional<java.util.Collection<java.lang.String>> |
getEnabledProtocols()
Deprecated.
here for binary compatibility. Since Akka HTTP 10.2.0.
|
javax.net.ssl.SSLContext |
getSslContext()
Deprecated.
not always available. Since Akka HTTP 10.2.0.
|
java.util.Optional<javax.net.ssl.SSLParameters> |
getSslParameters()
Deprecated.
here for binary compatibility. Since Akka HTTP 10.2.0.
|
scala.Option<com.typesafe.sslconfig.pekko.PekkoSSLConfig> |
sslConfig()
Deprecated.
here for binary compatibility. Since Akka HTTP 10.2.0.
|
javax.net.ssl.SSLContext |
sslContext()
Deprecated.
not always available. Since Akka HTTP 10.2.0.
|
scala.util.Either<DeprecatedSslContextParameters,scala.Function1<scala.Option<scala.Tuple2<java.lang.String,java.lang.Object>>,javax.net.ssl.SSLEngine>> |
sslContextData() |
scala.Option<javax.net.ssl.SSLParameters> |
sslParameters()
Deprecated.
here for binary compatibility. Since Akka HTTP 10.2.0.
|
isSecure
https, https, https, httpsClient, httpsClient, httpsServer, httpsServer, noEncryption
public HttpsConnectionContext(scala.util.Either<DeprecatedSslContextParameters,scala.Function1<scala.Option<scala.Tuple2<java.lang.String,java.lang.Object>>,javax.net.ssl.SSLEngine>> sslContextData)
public HttpsConnectionContext(javax.net.ssl.SSLContext sslContext, scala.Option<com.typesafe.sslconfig.pekko.PekkoSSLConfig> sslConfig, scala.Option<scala.collection.immutable.Seq<java.lang.String>> enabledCipherSuites, scala.Option<scala.collection.immutable.Seq<java.lang.String>> enabledProtocols, scala.Option<org.apache.pekko.stream.TLSClientAuth> clientAuth, scala.Option<javax.net.ssl.SSLParameters> sslParameters)
public scala.util.Either<DeprecatedSslContextParameters,scala.Function1<scala.Option<scala.Tuple2<java.lang.String,java.lang.Object>>,javax.net.ssl.SSLEngine>> sslContextData()
protected final int defaultPort()
defaultPort
in interface ConnectionContext
public javax.net.ssl.SSLContext sslContext()
public scala.Option<com.typesafe.sslconfig.pekko.PekkoSSLConfig> sslConfig()
sslConfig
in class ConnectionContext
public scala.Option<scala.collection.immutable.Seq<java.lang.String>> enabledCipherSuites()
public scala.Option<scala.collection.immutable.Seq<java.lang.String>> enabledProtocols()
public scala.Option<org.apache.pekko.stream.TLSClientAuth> clientAuth()
public scala.Option<javax.net.ssl.SSLParameters> sslParameters()
public org.apache.pekko.stream.TLSProtocol.NegotiateNewSession firstSession()
public javax.net.ssl.SSLContext getSslContext()
getSslContext
in class HttpsConnectionContext
public java.util.Optional<java.util.Collection<java.lang.String>> getEnabledCipherSuites()
getEnabledCipherSuites
in class HttpsConnectionContext
public java.util.Optional<java.util.Collection<java.lang.String>> getEnabledProtocols()
getEnabledProtocols
in class HttpsConnectionContext
public java.util.Optional<org.apache.pekko.stream.TLSClientAuth> getClientAuth()
getClientAuth
in class HttpsConnectionContext
public java.util.Optional<javax.net.ssl.SSLParameters> getSslParameters()
getSslParameters
in class HttpsConnectionContext