=doc port over some http documentation from the scala side
This commit is contained in:
parent
16d4b4a331
commit
11d98a6593
18 changed files with 701 additions and 9 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue