| Package | Description |
|---|---|
| org.glassfish.grizzly.http.server |
| Modifier and Type | Method and Description |
|---|---|
static HttpServer |
HttpServer.createSimpleServer() |
static HttpServer |
HttpServer.createSimpleServer(String docRoot) |
static HttpServer |
HttpServer.createSimpleServer(String docRoot,
int port) |
static HttpServer |
HttpServer.createSimpleServer(String docRoot,
PortRange range) |
static HttpServer |
HttpServer.createSimpleServer(String docRoot,
SocketAddress socketAddress) |
static HttpServer |
HttpServer.createSimpleServer(String docRoot,
String host,
int port) |
static HttpServer |
HttpServer.createSimpleServer(String docRoot,
String host,
PortRange range) |
| Modifier and Type | Method and Description |
|---|---|
GrizzlyFuture<HttpServer> |
HttpServer.shutdown()
Gracefully shuts down the
HttpServer instance. |
GrizzlyFuture<HttpServer> |
HttpServer.shutdown(long gracePeriod,
TimeUnit timeUnit) |
| Constructor and Description |
|---|
HttpHandlerChain(HttpServer httpServer) |
Copyright © 2017 Oracle Corporation. All Rights Reserved.