!htc #20371 allows for simple HTTPS usage from Java, fixes typo in APIs (#20373)

This commit is contained in:
Konrad Malawski 2016-04-25 12:01:03 +02:00
parent b983f19c1f
commit 0e11ec2057
28 changed files with 674 additions and 120 deletions

View file

@ -0,0 +1,27 @@
/*
* Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
*/
package docs.http.javadsl.server;
import akka.actor.ActorSystem;
import com.typesafe.sslconfig.akka.AkkaSSLConfig;
import org.junit.Test;
import org.scalatest.junit.JUnitSuite;
/* COMPILE ONLY TEST */
public class HttpsServerExampleTest extends JUnitSuite {
@Test
public void compileOnlySpec() throws Exception {
// just making sure for it to be really compiled / run even if empty
}
void sslConfigGet() {
//#akka-ssl-config
final ActorSystem system = ActorSystem.create();
final AkkaSSLConfig sslConfig = AkkaSSLConfig.get(system);
//#
}
}