| Package | Description |
|---|---|
| io.helidon.webserver |
Reactive web server API.
|
| io.helidon.webserver.netty |
Netty based implementation of WebServer HTTP IO SPI.
|
| io.helidon.webserver.spi |
WebServer SPI.
|
| Modifier and Type | Method | Description |
|---|---|---|
WebServer |
WebServer.Builder.build() |
Builds the
WebServer instance as configured by this builder and its parameters. |
static WebServer |
WebServer.create(Builder<? extends Routing> routingBuilder) |
Creates new instance form provided routing and default configuration.
|
static WebServer |
WebServer.create(Builder<? extends ServerConfiguration> configurationBuilder,
Builder<? extends Routing> routingBuilder) |
Creates new instance form provided configuration and routing.
|
static WebServer |
WebServer.create(Builder<? extends ServerConfiguration> configurationBuilder,
Routing routing) |
Creates a new instance from a provided configuration and a routing.
|
static WebServer |
WebServer.create(Routing routing) |
Creates new instance form provided routing and default configuration.
|
static WebServer |
WebServer.create(ServerConfiguration configuration,
Builder<? extends Routing> routingBuilder) |
Creates new instance form provided configuration and routing.
|
static WebServer |
WebServer.create(ServerConfiguration configuration,
Routing routing) |
Creates new instance form provided configuration and routing.
|
WebServer |
Routing.Builder.createServer() |
Creates new
WebServer instance with this routing and default configuration. |
WebServer |
Routing.Builder.createServer(ServerConfiguration configuration) |
Creates new
WebServer instance with provided configuration and this routing. |
WebServer |
Routing.Builder.createServer(ServerConfiguration.Builder configurationBuilder) |
Creates new
WebServer instance with provided configuration and this routing. |
default WebServer |
Routing.createServer() |
Creates new
WebServer instance with this routing and default configuration. |
default WebServer |
Routing.createServer(ServerConfiguration configuration) |
Creates new
WebServer instance with provided configuration and this routing. |
WebServer |
ServerRequest.webServer() |
Returns actual
WebServer instance. |
WebServer |
ServerResponse.webServer() |
Returns actual
WebServer instance. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.CompletionStage<WebServer> |
WebServer.shutdown() |
Attempt to gracefully shutdown server.
|
java.util.concurrent.CompletionStage<WebServer> |
WebServer.start() |
Starts the server.
|
java.util.concurrent.CompletionStage<WebServer> |
WebServer.whenShutdown() |
Completion stage is completed when server is shut down.
|
| Modifier and Type | Method | Description |
|---|---|---|
Routing.Builder |
Routing.Builder.onNewWebServer(java.util.function.Consumer<WebServer> webServerConsumer) |
|
T |
Routing.Rules.onNewWebServer(java.util.function.Consumer<WebServer> webServerConsumer) |
Registers callback on created new
WebServer instance with this routing. |
| Modifier and Type | Method | Description |
|---|---|---|
WebServer |
Factory.newWebServer(ServerConfiguration configuration,
Routing routing,
java.util.Map<java.lang.String,Routing> namedRoutings) |
| Modifier and Type | Method | Description |
|---|---|---|
WebServer |
BareRequest.getWebServer() |
Gets actual
WebServer instance. |
WebServer |
WebServerFactory.newWebServer(ServerConfiguration configuration,
Routing routing,
java.util.Map<java.lang.String,Routing> namedRoutings) |
Creates new
WebServer instance form provided configuration and routing. |
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.