Uses of Class
com.exoscale.sdk.client.ApiClient
Packages that use ApiClient
-
Uses of ApiClient in com.exoscale.sdk.api
Constructors in com.exoscale.sdk.api with parameters of type ApiClient -
Uses of ApiClient in com.exoscale.sdk.client
Methods in com.exoscale.sdk.client that return ApiClientModifier and TypeMethodDescriptionstatic ApiClient
Configuration.getDefaultApiClient()
Get the default API client, which would be used when creating API instances without providing an API client.ApiClient.setAsyncResponseInterceptor
(Consumer<HttpResponse<String>> interceptor) Set a custom async response interceptor.ApiClient.setBasePath
(String basePath) Set a custom base path for the target service, for example '/v2'.ApiClient.setConnectTimeout
(Duration connectTimeout) Sets the connect timeout (in milliseconds) for the http client.ApiClient.setCredentials
(Credentials credentials) Set theCredentials
object to be used for generating authorization signatures.Set a custom host name for the target service.ApiClient.setHttpClientBuilder
(HttpClient.Builder builder) Set a customHttpClient.Builder
object to use when creating theHttpClient
that is used by the API client.ApiClient.setObjectMapper
(com.fasterxml.jackson.databind.ObjectMapper mapper) Set a customObjectMapper
to serialize and deserialize the request and response bodies.ApiClient.setPort
(int port) Set a custom port number for the target service.ApiClient.setReadTimeout
(Duration readTimeout) Set the read timeout for the http client.ApiClient.setRequestInterceptor
(Consumer<HttpRequest.Builder> interceptor) Set a custom request interceptor.ApiClient.setResponseInterceptor
(Consumer<HttpResponse<InputStream>> interceptor) Set a custom response interceptor.Set a custom scheme for the target service, for example 'https'.Methods in com.exoscale.sdk.client with parameters of type ApiClientModifier and TypeMethodDescriptionstatic void
Configuration.setDefaultApiClient
(ApiClient apiClient) Set the default API client, which would be used when creating API instances without providing an API client.