Package akka.http.scaladsl
Interface DefaultSSLContextCreation
- All Known Implementing Classes:
HttpExt
public interface DefaultSSLContextCreation
Deprecated.
use ConnectionContext.httpsServer and httpsClient directly. Since 10.2.0.
TLS configuration for an HTTPS server binding or client connection.
For the sslContext please refer to the com.typeasfe.ssl-config library.
The remaining four parameters configure the initial session that will
be negotiated, see
TLSProtocol.NegotiateNewSession
for details.-
Method Summary
Modifier and TypeMethodDescriptioncreateClientHttpsContext
(com.typesafe.sslconfig.akka.AkkaSSLConfig sslConfig) Deprecated.use ConnectionContext.httpClient(sslContext) instead.Deprecated.use ConnectionContext.httpServer instead.createServerHttpsContext
(com.typesafe.sslconfig.akka.AkkaSSLConfig sslConfig) Deprecated.use ConnectionContext.httpServer instead.akka.event.LoggingAdapter
log()
Deprecated.com.typesafe.sslconfig.akka.AkkaSSLConfig
Deprecated.akka.actor.ActorSystem
system()
Deprecated.void
Deprecated.AkkaSSLConfig usage is deprecated.
-
Method Details
-
createClientHttpsContext
HttpsConnectionContext createClientHttpsContext(com.typesafe.sslconfig.akka.AkkaSSLConfig sslConfig) Deprecated.use ConnectionContext.httpClient(sslContext) instead. Since 10.2.0. -
createDefaultClientHttpsContext
HttpsConnectionContext createDefaultClientHttpsContext()Deprecated.use ConnectionContext.httpServer instead. Since 10.2.0. -
createServerHttpsContext
HttpsConnectionContext createServerHttpsContext(com.typesafe.sslconfig.akka.AkkaSSLConfig sslConfig) Deprecated.use ConnectionContext.httpServer instead. Since 10.2.0. -
log
akka.event.LoggingAdapter log()Deprecated. -
sslConfig
com.typesafe.sslconfig.akka.AkkaSSLConfig sslConfig()Deprecated. -
system
akka.actor.ActorSystem system()Deprecated. -
validateAndWarnAboutLooseSettings
void validateAndWarnAboutLooseSettings()Deprecated.AkkaSSLConfig usage is deprecated. Since 10.2.0.
-