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 WebServerWebServer.Builder. build()Builds theWebServerinstance as configured by this builder and its parameters.static WebServerWebServer. create(Routing routing)Creates new instance from provided routing and default configuration.static WebServerWebServer. create(Routing routing, Config config)Creates new instance from provided configuration and routing.static WebServerWebServer. 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.Buildernow.static WebServerWebServer. 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.Buildernow.static WebServerWebServer. create(Supplier<? extends Routing> routingBuilder)Creates new instance from provided routing and default configuration.static WebServerWebServer. 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.Buildernow.static WebServerWebServer. 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.Buildernow.static WebServerWebServer. create(Supplier<Routing> routingBuilder, Config config)Creates new instance from provided configuration and routing.WebServerRouting.Builder. createServer()Deprecated.since 2.0.0, please usecreate(Routing).WebServerRouting.Builder. createServer(ServerConfiguration configuration)Deprecated.since 2.0.0, please useWebServer.Builder.build()to create a new server, configuring routing usingWebServer.Builder.routing(Routing).WebServerRouting.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 WebServerRouting. createServer()Deprecated.since 2.0.0 please usebuilder(Routing)insteaddefault WebServerRouting. createServer(ServerConfiguration configuration)Deprecated.since 2.0.0 please usebuilder(Routing)insteadWebServerBareRequest. webServer()Gets actualWebServerinstance.WebServerServerRequest. webServer()Returns actualWebServerinstance.WebServerServerResponse. webServer()Returns actualWebServerinstance.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 booleanTransport. isAvailableFor(WebServer webserver)Method parameters in io.helidon.webserver with type arguments of type WebServer Modifier and Type Method Description Routing.BuilderRouting.Builder. onNewWebServer(Consumer<WebServer> webServerConsumer)Routing.RulesRouting.Rules. onNewWebServer(Consumer<WebServer> webServerConsumer)Registers callback on created newWebServerinstance 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 booleanEPollTransport. isAvailableFor(WebServer webServer)ReturnstruewhenEpoll.isAvailable()returnstrueandfalseotherwise. -
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 booleanIOUringTransport. isAvailableFor(WebServer webServer)ReturnstruewhenIOUring.isAvailable()returnstrueandfalseotherwise.
-