=doc port over some http documentation from the scala side

This commit is contained in:
Johannes Rudolph 2015-07-10 19:13:56 +02:00
parent 16d4b4a331
commit 11d98a6593
18 changed files with 701 additions and 9 deletions

View file

@ -23,13 +23,16 @@ public abstract class HttpsContext {
public abstract Option<ClientAuth> getClientAuth();
public abstract Option<SSLParameters> getSslParameters();
//#http-context-creation
public static HttpsContext create(SSLContext sslContext,
Option<Collection<String>> enabledCipherSuites,
Option<Collection<String>> enabledProtocols,
Option<ClientAuth> clientAuth,
Option<SSLParameters> sslParameters) {
Option<SSLParameters> sslParameters)
//#http-context-creation
{
return akka.http.scaladsl.HttpsContext.create(sslContext, enabledCipherSuites, enabledProtocols,
clientAuth, sslParameters);
}
}
}