| Package | Description |
|---|---|
| com.hotels.styx.server | |
| com.hotels.styx.server.netty |
| Modifier and Type | Method and Description |
|---|---|
static InetServer |
HttpServers.createHttpServer(int port,
HttpHandler handler)
Returns a new
HttpServer object, which runs on the provided port. |
static InetServer |
HttpServers.createHttpServer(String name,
HttpConnectorConfig httpConnectorConfig,
HttpHandler handler)
Returns a new
HttpServer object, which runs on the provided port. |
static InetServer |
HttpServers.createHttpsServer(String name,
HttpsConnectorConfig httpsConnectorConfig,
HttpHandler handler)
Returns a new
HttpServer object, using secure HTTPS protocol. |
| Modifier and Type | Method and Description |
|---|---|
InetServer |
NettyServerBuilder.build() |
Copyright © 2013–2020 Hotels.com. All rights reserved.