| Package | Description |
|---|---|
| io.helidon.webserver |
Reactive web server API.
|
| Modifier and Type | Method and Description |
|---|---|
WebServer |
WebServer.Builder.build()
Builds the
WebServer instance as configured by this builder and its parameters. |
static WebServer |
WebServer.create(Routing routing)
Creates new instance form provided routing and default configuration.
|
static WebServer |
WebServer.create(ServerConfiguration configuration,
Routing routing)
Creates new instance form provided configuration and routing.
|
static WebServer |
WebServer.create(ServerConfiguration configuration,
Supplier<? extends Routing> routingBuilder)
Creates new instance form provided configuration and routing.
|
static WebServer |
WebServer.create(Supplier<? extends Routing> routingBuilder)
Creates new instance form provided routing and default configuration.
|
static WebServer |
WebServer.create(Supplier<? extends ServerConfiguration> configurationBuilder,
Routing routing)
Creates a new instance from a provided configuration and a routing.
|
static WebServer |
WebServer.create(Supplier<? extends ServerConfiguration> configurationBuilder,
Supplier<? extends Routing> routingBuilder)
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 |
BareRequest.webServer()
Gets actual
WebServer instance. |
WebServer |
ServerRequest.webServer()
Returns actual
WebServer instance. |
WebServer |
ServerResponse.webServer()
Returns actual
WebServer instance. |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<WebServer> |
WebServer.shutdown()
Attempt to gracefully shutdown server.
|
CompletionStage<WebServer> |
WebServer.start()
Starts the server.
|
CompletionStage<WebServer> |
WebServer.whenShutdown()
Completion stage is completed when server is shut down.
|
| Modifier and Type | Method and Description |
|---|---|
Routing.Builder |
Routing.Builder.onNewWebServer(Consumer<WebServer> webServerConsumer) |
Routing.Rules |
Routing.Rules.onNewWebServer(Consumer<WebServer> webServerConsumer)
Registers callback on created new
WebServer instance with this routing. |
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.