Uses of Interface
io.helidon.webserver.WebServer
-
Packages that use WebServer Package Description io.helidon.webserver Reactive web server API.io.helidon.webserver.transport.netty.epoll Netty Epoll Transport implementation.io.helidon.webserver.transport.netty.iouring Netty io_uring Transport implementation. -
-
Uses of WebServer in io.helidon.webserver
Methods in io.helidon.webserver that return WebServer Modifier and Type Method Description WebServer
WebServer.Builder. build()
Builds theWebServer
instance as configured by this builder and its parameters.static WebServer
WebServer. create(Routing routing)
Creates new instance from provided routing and default configuration.static WebServer
WebServer. create(Routing routing, Config config)
Creates new instance from provided configuration and routing.static WebServer
WebServer. create(ServerConfiguration configuration, Routing routing)
Deprecated.since 2.0.0 - please usecreate(Routing, io.helidon.config.Config)
instead for instances based onConfig
, orbuilder(Routing)
to configure server configuration by hand (as you would onSocketConfiguration.Builder
now.static WebServer
WebServer. create(ServerConfiguration configuration, Supplier<? extends Routing> routingBuilder)
Deprecated.since 2.0.0 - please usecreate(java.util.function.Supplier, io.helidon.config.Config)
instead for instances based onConfig
, orbuilder(java.util.function.Supplier)
to configure server configuration by hand (as you would onSocketConfiguration.Builder
now.static WebServer
WebServer. create(Supplier<? extends Routing> routingBuilder)
Creates new instance from provided routing and default configuration.static WebServer
WebServer. create(Supplier<? extends ServerConfiguration> configurationBuilder, Routing routing)
Deprecated.since 2.0.0 - please usecreate(io.helidon.webserver.Routing, io.helidon.config.Config)
instead for instances based onConfig
, orbuilder(io.helidon.webserver.Routing)
to configure server configuration by hand (as you would onSocketConfiguration.Builder
now.static WebServer
WebServer. create(Supplier<? extends ServerConfiguration> configurationBuilder, Supplier<? extends Routing> routingBuilder)
Deprecated.since 2.0.0 - please usecreate(java.util.function.Supplier, io.helidon.config.Config)
instead for instances based onConfig
, orbuilder(java.util.function.Supplier)
to configure server configuration by hand (as you would onSocketConfiguration.Builder
now.static WebServer
WebServer. create(Supplier<Routing> routingBuilder, Config config)
Creates new instance from provided configuration and routing.WebServer
Routing.Builder. createServer()
Deprecated.since 2.0.0, please usecreate(Routing)
.WebServer
Routing.Builder. createServer(ServerConfiguration configuration)
Deprecated.since 2.0.0, please useWebServer.Builder.build()
to create a new server, configuring routing usingWebServer.Builder.routing(Routing)
.WebServer
Routing.Builder. createServer(ServerConfiguration.Builder configurationBuilder)
Deprecated.since 2.0.0, please useWebServer.Builder.build()
to create a new server, configuring routing usingWebServer.Builder.routing(Routing)
.default WebServer
Routing. createServer()
Deprecated.since 2.0.0 please usebuilder(Routing)
insteaddefault WebServer
Routing. createServer(ServerConfiguration configuration)
Deprecated.since 2.0.0 please usebuilder(Routing)
insteadWebServer
BareRequest. webServer()
Gets actualWebServer
instance.WebServer
ServerRequest. webServer()
Returns actualWebServer
instance.WebServer
ServerResponse. webServer()
Returns actualWebServer
instance.Methods in io.helidon.webserver that return types with arguments of type WebServer Modifier and Type Method Description Single<WebServer>
WebServer. shutdown()
Attempt to gracefully shutdown server.Single<WebServer>
WebServer. start()
Starts the server.Single<WebServer>
WebServer. whenShutdown()
Completion stage is completed when server is shut down.Methods in io.helidon.webserver with parameters of type WebServer Modifier and Type Method Description boolean
Transport. isAvailableFor(WebServer webserver)
Method parameters in io.helidon.webserver with type arguments of type WebServer Modifier and Type Method Description Routing.Builder
Routing.Builder. onNewWebServer(Consumer<WebServer> webServerConsumer)
Routing.Rules
Routing.Rules. onNewWebServer(Consumer<WebServer> webServerConsumer)
Registers callback on created newWebServer
instance with this routing. -
Uses of WebServer in io.helidon.webserver.transport.netty.epoll
Methods in io.helidon.webserver.transport.netty.epoll with parameters of type WebServer Modifier and Type Method Description boolean
EPollTransport. isAvailableFor(WebServer webServer)
Returnstrue
whenEpoll.isAvailable()
returnstrue
andfalse
otherwise. -
Uses of WebServer in io.helidon.webserver.transport.netty.iouring
Methods in io.helidon.webserver.transport.netty.iouring with parameters of type WebServer Modifier and Type Method Description boolean
IOUringTransport. isAvailableFor(WebServer webServer)
Returnstrue
whenIOUring.isAvailable()
returnstrue
andfalse
otherwise.
-