Uses of Class
io.vertx.core.http.HttpClientOptions
Packages that use HttpClientOptions
-
Uses of HttpClientOptions in io.vertx.core
Methods in io.vertx.core with parameters of type HttpClientOptionsModifier and TypeMethodDescriptiondefault HttpClientAgentVertx.createHttpClient(HttpClientOptions clientOptions) Create a HTTP/HTTPS client using the specified client optionsdefault HttpClientAgentVertx.createHttpClient(HttpClientOptions clientOptions, PoolOptions poolOptions) Create a HTTP/HTTPS client using the specified client and pool options -
Uses of HttpClientOptions in io.vertx.core.http
Methods in io.vertx.core.http that return HttpClientOptionsModifier and TypeMethodDescriptionHttpClientOptions.addCrlPath(String crlPath) HttpClientOptions.addCrlValue(Buffer crlValue) HttpClientOptions.addEnabledCipherSuite(String suite) HttpClientOptions.addEnabledSecureTransportProtocol(String protocol) HttpClientOptions.addNonProxyHost(String nonProxyHost) HttpClientOptions.removeEnabledCipherSuite(String suite) HttpClientOptions.removeEnabledSecureTransportProtocol(String protocol) HttpClientOptions.setActivityLogDataFormat(io.netty.handler.logging.ByteBufFormat activityLogDataFormat) HttpClientOptions.setAlpnVersions(List<HttpVersion> alpnVersions) Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiation.HttpClientOptions.setConnectTimeout(int connectTimeout) HttpClientOptions.setCrossOriginRedirectBlockedHeaders(Set<String> crossOriginRedirectBlockedHeaders) Update the set of blocked HTTP headers on a cross-origin redirection.HttpClientOptions.setDecoderInitialBufferSize(int decoderInitialBufferSize) set toinitialBufferSizeHttpDecoderthe initial buffer of the HttpDecoder.HttpClientOptions.setDecompressionSupported(boolean decompressionSupported) Whether the client should send requests with anaccepting-encodingheader set to a compression algorithm.HttpClientOptions.setDefaultHost(String defaultHost) Set the default host name to be used by this client in requests if none is provided when making the request.HttpClientOptions.setDefaultPort(int defaultPort) Set the default port to be used by this client in requests if none is provided when making the request.HttpClientOptions.setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols) HttpClientOptions.setForceSni(boolean forceSni) By default, the server name is only sent for Fully Qualified Domain Name (FQDN), setting this property totrueforces the server name to be always sent.HttpClientOptions.setHttp2ClearTextUpgrade(boolean value) Set totruewhen an h2c connection is established using an HTTP/1.1 upgrade request, andfalsewhen an h2c connection is established directly (with prior knowledge).HttpClientOptions.setHttp2ClearTextUpgradeWithPreflightRequest(boolean value) Set totruewhen an h2c connection established using an HTTP/1.1 upgrade request should perform a preflightOPTIONSrequest to the origin server to establish the h2c connection.HttpClientOptions.setHttp2ConnectionWindowSize(int http2ConnectionWindowSize) Set the default HTTP/2 connection window size.HttpClientOptions.setHttp2KeepAliveTimeout(int keepAliveTimeout) Set the keep alive timeout for HTTP/2 connections, in seconds.HttpClientOptions.setHttp2MultiplexImplementation(boolean http2MultiplexImplementation) Set which HTTP/2 implementation to useHttpClientOptions.setHttp2MultiplexingLimit(int limit) Set a client limit of the number concurrent streams for each HTTP/2 connection, this limits the number of streams the client can create for a connection.HttpClientOptions.setHttp2UpgradeMaxContentLength(int http2UpgradeMaxContentLength) Set the HTTP/2 upgrade maximum length of the aggregated content in bytes.HttpClientOptions.setIdleTimeout(int idleTimeout) HttpClientOptions.setIdleTimeoutUnit(TimeUnit idleTimeoutUnit) HttpClientOptions.setInitialSettings(Http2Settings settings) Set the HTTP/2 connection settings immediately sent by to the server when the client connects.HttpClientOptions.setKeepAlive(boolean keepAlive) Set whether keep alive is enabled on the clientHttpClientOptions.setKeepAliveTimeout(int keepAliveTimeout) Set the keep alive timeout for HTTP/1.x, in seconds.HttpClientOptions.setKeyCertOptions(KeyCertOptions options) HttpClientOptions.setLocalAddress(String localAddress) HttpClientOptions.setLogActivity(boolean logEnabled) HttpClientOptions.setMaxChunkSize(int maxChunkSize) Set the maximum HTTP chunk sizeHttpClientOptions.setMaxHeaderSize(int maxHeaderSize) Set the maximum length of all headers for HTTP/1.x .HttpClientOptions.setMaxInitialLineLength(int maxInitialLineLength) Set the maximum length of the initial line for HTTP/1.x (e.g.HttpClientOptions.setMaxRedirects(int maxRedirects) Set tomaxRedirectsthe maximum number of redirection a request can follow.HttpClientOptions.setMetricsName(String metricsName) Set the client name, used when the client is shared, otherwise ignored.HttpClientOptions.setNonProxyHosts(List<String> nonProxyHosts) HttpClientOptions.setPipelining(boolean pipelining) Set whether pipe-lining is enabled on the clientHttpClientOptions.setPipeliningLimit(int limit) Set the limit of pending requests a pipe-lined HTTP/1 connection can send.HttpClientOptions.setProtocolVersion(HttpVersion protocolVersion) Set the protocol version.HttpClientOptions.setProxyOptions(ProxyOptions proxyOptions) HttpClientOptions.setReadIdleTimeout(int idleTimeout) HttpClientOptions.setReceiveBufferSize(int receiveBufferSize) HttpClientOptions.setReuseAddress(boolean reuseAddress) HttpClientOptions.setReusePort(boolean reusePort) HttpClientOptions.setSameOriginRedirectBlockedHeaders(Set<String> sameOriginRedirectBlockedHeaders) Update the set of blocked HTTP headers on a same-origin redirection.HttpClientOptions.setSendBufferSize(int sendBufferSize) HttpClientOptions.setShared(boolean shared) Set totrueto share the client.HttpClientOptions.setSoLinger(int soLinger) HttpClientOptions.setSsl(boolean ssl) HttpClientOptions.setSslEngineOptions(SSLEngineOptions sslEngineOptions) HttpClientOptions.setSslHandshakeTimeout(long sslHandshakeTimeout) HttpClientOptions.setSslHandshakeTimeoutUnit(TimeUnit sslHandshakeTimeoutUnit) HttpClientOptions.setTcpCork(boolean tcpCork) HttpClientOptions.setTcpFastOpen(boolean tcpFastOpen) HttpClientOptions.setTcpKeepAlive(boolean tcpKeepAlive) HttpClientOptions.setTcpNoDelay(boolean tcpNoDelay) HttpClientOptions.setTcpQuickAck(boolean tcpQuickAck) HttpClientOptions.setTcpUserTimeout(int tcpUserTimeout) HttpClientOptions.setTracingPolicy(TracingPolicy tracingPolicy) Set the tracing policy for the client behavior when Vert.x has tracing enabled.HttpClientOptions.setTrafficClass(int trafficClass) HttpClientOptions.setTrustAll(boolean trustAll) HttpClientOptions.setTrustOptions(TrustOptions options) HttpClientOptions.setUseAlpn(boolean useAlpn) HttpClientOptions.setVerifyHost(boolean verifyHost) Set whether hostname verification is enabledHttpClientOptions.setWriteIdleTimeout(int idleTimeout) Methods in io.vertx.core.http with parameters of type HttpClientOptionsModifier and TypeMethodDescriptionHttpClientBuilder.with(HttpClientOptions options) Configure the client options.Constructors in io.vertx.core.http with parameters of type HttpClientOptions