Uses of Class
io.helidon.webserver.WebServer.Builder
Package
Description
Microprofile 1.0 server implementation.
Reactive web server API.
-
Uses of WebServer.Builder in io.helidon.microprofile.server
Modifier and TypeMethodDescriptionServerCdiExtension.serverBuilder()
Helidon web server configuration builder that can be used to re-configure the web server. -
Uses of WebServer.Builder in io.helidon.webserver
Modifier and TypeMethodDescriptionWebServer.Builder.addMediaSupport
(MediaSupport mediaSupport) WebServer.Builder.addNamedRouting
(String name, Routing routing) Associates a dedicated routing with an additional server socket configuration.WebServer.Builder.addNamedRouting
(String name, Supplier<Routing> routingBuilder) Associates a dedicated routing with an additional server socket configuration.WebServer.Builder.addReader
(MessageBodyReader<?> reader) WebServer.Builder.addRequestedUriDiscoveryType
(SocketConfiguration.RequestedUriDiscoveryType type) WebServer.Builder.addRouting
(Routing routing) Configure the default routing of this WebServer.WebServer.Builder.addRouting
(Supplier<Routing> routingSupplier) Configure the default routing of this WebServer.WebServer.Builder.addSocket
(SocketConfiguration config) Adds an additional named server socket configuration.WebServer.Builder.addSocket
(SocketConfiguration socketConfiguration, Routing routing) Add a named socket and routing.WebServer.Builder.addSocket
(Supplier<SocketConfiguration> socketConfigurationBuilder) Adds an additional named server socket configuration builder.WebServer.Builder.addStreamReader
(MessageBodyStreamReader<?> streamReader) WebServer.Builder.addStreamWriter
(MessageBodyStreamWriter<?> streamWriter) WebServer.Builder.addWriter
(MessageBodyWriter<?> writer) WebServer.Builder.backlog
(int backlog) WebServer.Builder.backpressureBufferSize
(long backpressureBufferSize) WebServer.Builder.backpressureStrategy
(BackpressureStrategy backpressureStrategy) WebServer.Builder.bindAddress
(InetAddress bindAddress) static WebServer.Builder
WebServer.builder()
Creates a fluent API builder of theWebServer
.static WebServer.Builder
Creates a builder of theWebServer
.static WebServer.Builder
Creates a builder of theWebServer
.Update this server configuration from the config provided.WebServer.Builder.connectionIdleTimeout
(int seconds) Configure the application scoped context to be used as a parent for webserver request contexts.WebServer.Builder.continueImmediately
(boolean continueImmediately) WebServer.Builder.defaultSocket
(Consumer<SocketConfiguration.Builder> socket) Configure listener for the default socket.WebServer.Builder.directHandler
(DirectHandler handler, DirectHandler.EventType... types) Provide a custom handler for events that bypass routing.WebServer.Builder.enableCompression
(boolean value) WebServer.Builder.maxHeaderSize
(int size) WebServer.Builder.maxInitialLineLength
(int length) WebServer.Builder.maxPayloadSize
(long size) WebServer.Builder.maxUpgradeContentLength
(int size) WebServer.Builder.mediaContext
(MediaContext mediaContext) WebServer.Builder.port
(int port) WebServer.Builder.printFeatureDetails
(boolean shouldPrint) Set totrue
to print detailed feature information on startup.WebServer.Builder.receiveBufferSize
(int receiveBufferSize) WebServer.Builder.requestedUriDiscoveryEnabled
(boolean enabled) WebServer.Builder.requestedUriDiscoveryTypes
(List<SocketConfiguration.RequestedUriDiscoveryType> types) Deprecated, for removal: This API element is subject to removal in a future version.WebServer.Builder.routing
(Consumer<Routing.Builder> routing) Configure the default routing of this WebServer.Configure the default routing of this WebServer.WebServer.Builder.socket
(String socketName, BiConsumer<SocketConfiguration.Builder, Router.Builder> builders) Adds or augment existing named server socket configuration.WebServer.Builder.socket
(String name, Consumer<SocketConfiguration.Builder> socket) Adds or augment existing named server socket configuration.WebServer.Builder.tls
(WebServerTls webServerTls) Sets a tracer.Sets a tracer.Configure the transport to be used by this server.WebServer.Builder.trustedProxies
(AllowList trustedProxies) WebServer.Builder.update
(Consumer<WebServer.Builder> updateFunction) A helper method to support fluentAPI when invoking another method.WebServer.Builder.workersCount
(int workers) Sets a count of threads in pool used to process HTTP requests.Modifier and TypeMethodDescriptionWebServer.Builder.update
(Consumer<WebServer.Builder> updateFunction) A helper method to support fluentAPI when invoking another method.
addRouting(Routing)
oraddRouting(Routing)
instead.