Uses of Class
com.azure.core.util.HttpClientOptions
Packages that use HttpClientOptions
Package
Description
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
Package containing the types for instantiating and using the Netty HTTP client.
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 HttpClient
HttpClient.createDefault
(HttpClientOptions clientOptions) Creates a newHttpClient
instance.default HttpClient
HttpClientProvider.createInstance
(HttpClientOptions clientOptions) Creates a new instance of theHttpClient
that this HttpClientProvider is configured to create. -
Uses of HttpClientOptions in com.azure.core.http.netty
Methods in com.azure.core.http.netty with parameters of type HttpClientOptionsModifier and TypeMethodDescriptionNettyAsyncHttpClientProvider.createInstance
(HttpClientOptions clientOptions) -
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 theHttpClient
will 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 name of theHttpClientProvider
implementation 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 options
that theHttpClient
will 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.