T - the actual type of the interface extending this interfacepublic interface AzureConfigurable<T extends AzureConfigurable<T>>
| Modifier and Type | Method and Description |
|---|---|
T |
withCallbackExecutor(Executor executor)
Sets the executor for async callbacks to run on.
|
T |
withConnectionTimeout(long timeout,
TimeUnit unit)
Set the connection timeout on the HTTP client.
|
T |
withInterceptor(okhttp3.Interceptor interceptor)
Plug in an interceptor into the HTTP pipeline.
|
T |
withLogLevel(com.microsoft.rest.LogLevel level)
Set the logging level on the HTTP client.
|
T |
withMaxIdleConnections(int maxIdleConnections)
Set the maximum idle connections for the HTTP client.
|
T |
withProxy(Proxy proxy)
Sets the proxy for the HTTP client.
|
T |
withProxyAuthenticator(okhttp3.Authenticator proxyAuthenticator)
Sets the proxy authenticator for the HTTP client.
|
T |
withReadTimeout(long timeout,
TimeUnit unit)
Set the read timeout on the HTTP client.
|
T |
withUserAgent(String userAgent)
Specify the user agent header.
|
T withLogLevel(com.microsoft.rest.LogLevel level)
level - the OkHttp logging levelT withInterceptor(okhttp3.Interceptor interceptor)
interceptor - the interceptor to plug inT withUserAgent(String userAgent)
userAgent - the user agent to useT withReadTimeout(long timeout, TimeUnit unit)
timeout - the timeout numeric valueunit - the time unit for the numeric valueT withConnectionTimeout(long timeout, TimeUnit unit)
timeout - the timeout numeric valueunit - the time unit for the numeric valueT withMaxIdleConnections(int maxIdleConnections)
maxIdleConnections - the maximum idle connectionsT withCallbackExecutor(Executor executor)
executor - the executor to execute the callbacks.T withProxy(Proxy proxy)
proxy - the proxy to useT withProxyAuthenticator(okhttp3.Authenticator proxyAuthenticator)
proxyAuthenticator - the proxy authenticator to use/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/