public class WebServer extends AbstractWebServer
compilers, env, executorService, LOG, routesProvider| Constructor and Description |
|---|
WebServer() |
WebServer(Class<? extends Configuration> configuration) |
WebServer(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
WebServer |
configure(Configuration configuration) |
static void |
main(String[] args) |
int |
port() |
void |
reset() |
WebServer |
start() |
WebServer |
start(int port) |
WebServer |
startOnRandomPort() |
WebServer |
startSSL(int port,
List<java.nio.file.Path> pathChain,
java.nio.file.Path pathPrivateKey) |
WebServer |
startSSL(int port,
List<java.nio.file.Path> pathChain,
java.nio.file.Path pathPrivateKey,
List<java.nio.file.Path> pathTrustAnchors) |
WebServer |
startSSL(int port,
java.nio.file.Path pathCertificate,
java.nio.file.Path pathPrivateKey) |
protected WebServer |
startWithContext(int port,
SSLContext context,
boolean authReq) |
void |
stop() |
createCompilerFacade, createEnv, createExecutorService, errorPage, errorPage, errorPage, handle, handleServerErrorpublic WebServer()
public WebServer(Class<? extends Configuration> configuration)
public WebServer(Configuration configuration)
public WebServer configure(Configuration configuration)
configure in class AbstractWebServerpublic WebServer startOnRandomPort()
public WebServer start()
public WebServer start(int port)
public WebServer startSSL(int port, java.nio.file.Path pathCertificate, java.nio.file.Path pathPrivateKey)
public WebServer startSSL(int port, List<java.nio.file.Path> pathChain, java.nio.file.Path pathPrivateKey)
public WebServer startSSL(int port, List<java.nio.file.Path> pathChain, java.nio.file.Path pathPrivateKey, List<java.nio.file.Path> pathTrustAnchors)
protected WebServer startWithContext(int port, SSLContext context, boolean authReq)
public int port()
public void reset()
public void stop()
Copyright © 2014. All Rights Reserved.