Uses of Class
com.azure.core.util.HttpClientOptions
-
Packages that use HttpClientOptions Package Description com.azure.core.http Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.com.azure.core.util Package containing core utility classes. -
-
Uses of HttpClientOptions in com.azure.core.http
Methods in com.azure.core.http with parameters of type HttpClientOptions Modifier and Type Method Description static 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.util
Methods in com.azure.core.util that return HttpClientOptions Modifier and Type Method Description HttpClientOptions
HttpClientOptions. readTimeout(Duration readTimeout)
Sets the read timeout duration used when reading the server response.HttpClientOptions
HttpClientOptions. responseTimeout(Duration responseTimeout)
Sets the response timeout duration used when waiting for a server to reply.HttpClientOptions
HttpClientOptions. setApplicationId(String applicationId)
HttpClientOptions
HttpClientOptions. setConfiguration(Configuration configuration)
Sets the configuration store that theHttpClient
will use.HttpClientOptions
HttpClientOptions. setConnectionIdleTimeout(Duration connectionIdleTimeout)
Sets the duration of time before an idle connection.HttpClientOptions
HttpClientOptions. setConnectTimeout(Duration connectTimeout)
Sets the connection timeout for a request to be sent.HttpClientOptions
HttpClientOptions. setHeaders(Iterable<Header> headers)
HttpClientOptions
HttpClientOptions. setMaximumConnectionPoolSize(Integer maximumConnectionPoolSize)
Sets the maximum connection pool size used by the underlying HTTP client.HttpClientOptions
HttpClientOptions. setProxyOptions(ProxyOptions proxyOptions)
Sets theproxy options
that theHttpClient
will use.HttpClientOptions
HttpClientOptions. setReadTimeout(Duration readTimeout)
Sets the read timeout duration used when reading the server response.HttpClientOptions
HttpClientOptions. setResponseTimeout(Duration responseTimeout)
Sets the response timeout duration used when waiting for a server to reply.HttpClientOptions
HttpClientOptions. setWriteTimeout(Duration writeTimeout)
Sets the writing timeout for a request to be sent.
-