Uses of Class
com.azure.core.util.HttpClientOptions
Packages that use HttpClientOptions
Package
Description
This package provides HTTP abstractions for Azure SDK client libraries.
Package containing core utility classes.
-
Uses of HttpClientOptions in com.azure.core.http
Methods in com.azure.core.http with parameters of type HttpClientOptionsModifier and TypeMethodDescriptionstatic HttpClientHttpClient.createDefault(HttpClientOptions clientOptions) Creates a newHttpClientinstance.default HttpClientHttpClientProvider.createInstance(HttpClientOptions clientOptions) Creates a new instance of theHttpClientthat this HttpClientProvider is configured to create. -
Uses of HttpClientOptions in com.azure.core.util
Methods in com.azure.core.util that return HttpClientOptionsModifier and TypeMethodDescriptionHttpClientOptions.readTimeout(Duration readTimeout) Sets the read timeout duration used when reading the server response.HttpClientOptions.responseTimeout(Duration responseTimeout) Sets the response timeout duration used when waiting for a server to reply.HttpClientOptions.setApplicationId(String applicationId) HttpClientOptions.setConfiguration(Configuration configuration) Sets the configuration store that theHttpClientwill use.HttpClientOptions.setConnectionIdleTimeout(Duration connectionIdleTimeout) Sets the duration of time before an idle connection.HttpClientOptions.setConnectTimeout(Duration connectTimeout) Sets the connection timeout for a request to be sent.HttpClientOptions.setHeaders(Iterable<Header> headers) HttpClientOptions.setHttpClientProvider(Class<? extends HttpClientProvider> httpClientProvider) Sets the type of theHttpClientProviderimplementation that should be used to construct an instance ofHttpClient.HttpClientOptions.setMaximumConnectionPoolSize(Integer maximumConnectionPoolSize) Sets the maximum connection pool size used by the underlying HTTP client.HttpClientOptions.setProxyOptions(ProxyOptions proxyOptions) Sets theproxy optionsthat theHttpClientwill use.HttpClientOptions.setReadTimeout(Duration readTimeout) Sets the read timeout duration used when reading the server response.HttpClientOptions.setResponseTimeout(Duration responseTimeout) Sets the response timeout duration used when waiting for a server to reply.HttpClientOptions.setWriteTimeout(Duration writeTimeout) Sets the writing timeout for a request to be sent.