public class ConnectionContext$
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static ConnectionContext$ | MODULE$Static reference to the singleton instance of this Scala object. | 
| Constructor and Description | 
|---|
| ConnectionContext$() | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpsConnectionContext | https(javax.net.ssl.SSLContext sslContext)Deprecated. 
 use httpsServer, httpsClient or the method that takes a custom factory. Since Akka HTTP 10.2.0. | 
| HttpsConnectionContext | https(javax.net.ssl.SSLContext sslContext,
     java.util.Optional<java.util.Collection<java.lang.String>> enabledCipherSuites,
     java.util.Optional<java.util.Collection<java.lang.String>> enabledProtocols,
     java.util.Optional<org.apache.pekko.stream.TLSClientAuth> clientAuth,
     java.util.Optional<javax.net.ssl.SSLParameters> sslParameters)Deprecated. 
 use httpsServer, httpsClient or the method that takes a custom factory. Since Akka HTTP 10.2.0. | 
| HttpsConnectionContext | https(javax.net.ssl.SSLContext sslContext,
     java.util.Optional<com.typesafe.sslconfig.pekko.PekkoSSLConfig> sslConfig,
     java.util.Optional<java.util.Collection<java.lang.String>> enabledCipherSuites,
     java.util.Optional<java.util.Collection<java.lang.String>> enabledProtocols,
     java.util.Optional<org.apache.pekko.stream.TLSClientAuth> clientAuth,
     java.util.Optional<javax.net.ssl.SSLParameters> sslParameters)Deprecated. 
 use httpsServer, httpsClient or the method that takes a custom factory. Since Akka HTTP 10.2.0. | 
| HttpsConnectionContext | httpsClient(org.apache.pekko.japi.function.Function2<java.lang.String,java.lang.Integer,javax.net.ssl.SSLEngine> createEngine)If you want complete control over how to create the SSLEngine you can use this method. | 
| HttpsConnectionContext | httpsClient(javax.net.ssl.SSLContext sslContext)Creates an HttpsConnectionContext for client-side use from the given SSLContext. | 
| HttpsConnectionContext | httpsServer(org.apache.pekko.japi.function.Creator<javax.net.ssl.SSLEngine> createEngine)If you want complete control over how to create the SSLEngine you can use this method. | 
| HttpsConnectionContext | httpsServer(javax.net.ssl.SSLContext sslContext)Creates an HttpsConnectionContext for server-side use from the given SSLContext. | 
| HttpConnectionContext | noEncryption()Used to serve HTTP traffic. | 
public static final ConnectionContext$ MODULE$
public HttpsConnectionContext httpsServer(javax.net.ssl.SSLContext sslContext)
sslContext - (undocumented)public HttpsConnectionContext httpsServer(org.apache.pekko.japi.function.Creator<javax.net.ssl.SSLEngine> createEngine)
createEngine - (undocumented)public HttpsConnectionContext httpsClient(javax.net.ssl.SSLContext sslContext)
sslContext - (undocumented)public HttpsConnectionContext httpsClient(org.apache.pekko.japi.function.Function2<java.lang.String,java.lang.Integer,javax.net.ssl.SSLEngine> createEngine)
Note that this means it is up to you to make sure features like SNI and hostname verification are enabled as needed.
createEngine - (undocumented)public HttpsConnectionContext https(javax.net.ssl.SSLContext sslContext)
public HttpsConnectionContext https(javax.net.ssl.SSLContext sslContext, java.util.Optional<com.typesafe.sslconfig.pekko.PekkoSSLConfig> sslConfig, java.util.Optional<java.util.Collection<java.lang.String>> enabledCipherSuites, java.util.Optional<java.util.Collection<java.lang.String>> enabledProtocols, java.util.Optional<org.apache.pekko.stream.TLSClientAuth> clientAuth, java.util.Optional<javax.net.ssl.SSLParameters> sslParameters)
public HttpsConnectionContext https(javax.net.ssl.SSLContext sslContext, java.util.Optional<java.util.Collection<java.lang.String>> enabledCipherSuites, java.util.Optional<java.util.Collection<java.lang.String>> enabledProtocols, java.util.Optional<org.apache.pekko.stream.TLSClientAuth> clientAuth, java.util.Optional<javax.net.ssl.SSLParameters> sslParameters)
public HttpConnectionContext noEncryption()