Uses of Class
io.helidon.webserver.SocketConfiguration.Builder
-
Uses of SocketConfiguration.Builder in io.helidon.webserver
Modifier and TypeMethodDescriptionSocketConfiguration.Builder.addRequestedUriDiscoveryType
(SocketConfiguration.RequestedUriDiscoveryType type) SocketConfiguration.Builder.backlog
(int backlog) Configures a maximum length of the queue of incoming connections on the server socket.SocketConfiguration.Builder.backpressureBufferSize
(long size) SocketConfiguration.Builder.backpressureStrategy
(BackpressureStrategy backpressureStrategy) SocketConfiguration.Builder.bindAddress
(InetAddress bindAddress) static SocketConfiguration.Builder
SocketConfiguration.builder()
Creates a builder ofSocketConfiguration
class.SocketConfiguration.Builder.connectionIdleTimeout
(int seconds) SocketConfiguration.Builder.continueImmediately
(boolean continueImmediately) SocketConfiguration.Builder.enableCompression
(boolean value) Configure whether to enable content negotiation for compression.SocketConfiguration.Builder.enabled
(boolean enabled) Set this socket builder to enabled or disabled.SocketConfiguration.Builder.enabledSSlProtocols
(String... protocols) Deprecated.SocketConfiguration.Builder.enabledSSlProtocols
(List<String> protocols) Deprecated.SocketConfiguration.Builder.initialBufferSize
(int size) Configure initial size of the buffer used to parse HTTP line and headers.SocketConfiguration.Builder.maxChunkSize
(int size) Configure maximal size of a chunk to be read from incoming requests.SocketConfiguration.Builder.maxHeaderSize
(int size) SocketConfiguration.Builder.maxInitialLineLength
(int length) SocketConfiguration.Builder.maxPayloadSize
(long size) SocketConfiguration.Builder.maxUpgradeContentLength
(int size) Configure a socket name, to bind named routings to.SocketConfiguration.Builder.port
(int port) SocketConfiguration.Builder.receiveBufferSize
(int receiveBufferSize) Configures proposed value of the TCP receive window that is advertised to the remote peer on the server socket.SocketConfiguration.Builder.requestedUriDiscoveryEnabled
(boolean enabled) SocketConfiguration.Builder.requestedUriDiscoveryTypes
(List<SocketConfiguration.RequestedUriDiscoveryType> types) SocketConfiguration.Builder.ssl
(Supplier<? extends SSLContext> sslContextBuilder) Deprecated.since 2.0.0, please useSocketConfiguration.SocketConfigurationBuilder.tls(Supplier)
insteadSocketConfiguration.Builder.ssl
(SSLContext sslContext) Deprecated.since 2.0.0, please usetls(WebServerTls)
insteadSocketConfiguration.Builder.timeoutMillis
(int timeoutMillis) Deprecated.since 2.0.0 please usetimeout(long, java.util.concurrent.TimeUnit)
insteadSocketConfiguration.Builder.tls
(WebServerTls webServerTls) SocketConfiguration.Builder.trustedProxies
(AllowList trustedProxies) Configure the trusted proxy settings.SocketConfiguration.Builder.validateHeaders
(boolean validate) Configure whether to validate header names.Modifier and TypeMethodDescriptionServerConfiguration.Builder.addSocket
(String name, SocketConfiguration.Builder socketConfiguration) Deprecated.Adds an additional named server socket configuration.Modifier and TypeMethodDescriptionWebServer.Builder.defaultSocket
(Consumer<SocketConfiguration.Builder> socket) Configure listener for the default socket.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.ModifierConstructorDescriptionUnsafeRequestedUriSettingsException
(SocketConfiguration.Builder socketConfigurationBuilder, boolean areDiscoveryTypesDefaulted) Creates a new exception instance.
WebServerTls.Builder.enabledProtocols(String...)
instead