Uses of Interface
io.helidon.webserver.WebServer
Packages that use WebServer
Package
Description
Reactive web server API.
Netty Epoll Transport implementation.
Netty io_uring Transport implementation.
-
Uses of WebServer in io.helidon.webserver
Methods in io.helidon.webserver that return WebServerModifier and TypeMethodDescriptionWebServer.Builder.build()Builds theWebServerinstance as configured by this builder and its parameters.static WebServerCreates new instance from provided routing and default configuration.static WebServerCreates new instance from provided configuration and routing.static WebServerWebServer.create(ServerConfiguration configuration, Routing routing) Deprecated.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 WebServerCreates 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 WebServerCreates new instance from provided configuration and routing.Routing.Builder.createServer()Deprecated.since 2.0.0, please usecreate(Routing).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).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 WebServerRouting.createServer()Deprecated.since 2.0.0 please usebuilder(Routing)insteaddefault WebServerRouting.createServer(ServerConfiguration configuration) Deprecated.since 2.0.0 please usebuilder(Routing)insteadBareRequest.webServer()Gets actualWebServerinstance.ServerRequest.webServer()Returns actualWebServerinstance.ServerResponse.webServer()Returns actualWebServerinstance.Methods in io.helidon.webserver that return types with arguments of type WebServerModifier and TypeMethodDescriptionWebServer.shutdown()Attempt to gracefully shutdown server.WebServer.start()Starts the server.WebServer.whenShutdown()Completion stage is completed when server is shut down.Methods in io.helidon.webserver with parameters of type WebServerMethod parameters in io.helidon.webserver with type arguments of type WebServerModifier and TypeMethodDescriptionRouting.Builder.onNewWebServer(Consumer<WebServer> webServerConsumer) Routing.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 WebServerModifier and TypeMethodDescriptionbooleanEPollTransport.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 WebServerModifier and TypeMethodDescriptionbooleanIOUringTransport.isAvailableFor(WebServer webServer) ReturnstruewhenIOUring.isAvailable()returnstrueandfalseotherwise.
create(Routing, io.helidon.config.Config)instead for instances based onConfig, orbuilder(Routing)to configure server configuration by hand (as you would onSocketConfiguration.Buildernow.