All Methods Instance Methods Abstract Methods Concrete Methods
| Modifier and Type |
Method and Description |
T |
configure(Class<? extends Configuration> configuration) |
T |
configure(Configuration configuration) |
protected Env |
createEnv() |
protected abstract HttpServerWrapper |
createHttpServer(Handler httpHandler,
WebSocketHandler webSocketHandler) |
protected Payload |
errorPage(Exception e) |
protected Payload |
errorPage(Payload payload) |
protected Payload |
errorPage(Payload payload,
Exception e) |
protected void |
handleHttp(Request request,
Response response) |
protected void |
handleServerError(PayloadWriter payloadWriter,
Exception e) |
protected WebSocketListener |
handleWebSocket(Request request,
Response response) |
int |
port() |
T |
start() |
T |
start(int port) |
T |
startOnRandomPort() |
T |
startSSL(int port,
List<java.nio.file.Path> pathChain,
java.nio.file.Path pathPrivateKey) |
T |
startSSL(int port,
List<java.nio.file.Path> pathChain,
java.nio.file.Path pathPrivateKey,
List<java.nio.file.Path> pathTrustAnchors) |
T |
startSSL(int port,
java.nio.file.Path pathCertificate,
java.nio.file.Path pathPrivateKey) |
protected T |
startWithContext(int port,
SSLContext context,
boolean authReq) |
void |
stop() |