This commit is contained in:
parent
b983f19c1f
commit
0e11ec2057
28 changed files with 674 additions and 120 deletions
|
|
@ -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);
|
||||
//#
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue