static ApiClient |
Configuration.getDefaultApiClient() |
Get the default API client, which would be used when creating API
instances without providing an API client.
|
ApiClient |
ApiClient.setAsyncResponseInterceptor(Consumer<HttpResponse<String>> interceptor) |
Set a custom async response interceptor.
|
ApiClient |
ApiClient.setBasePath(String basePath) |
Set a custom base path for the target service, for example '/v2'.
|
ApiClient |
ApiClient.setConnectTimeout(Duration connectTimeout) |
Sets the connect timeout (in milliseconds) for the http client.
|
ApiClient |
ApiClient.setCredentials(Credentials credentials) |
Set the Credentials object to be used for generating authorization signatures.
|
ApiClient |
ApiClient.setHost(String host) |
Set a custom host name for the target service.
|
ApiClient |
ApiClient.setHttpClientBuilder(HttpClient.Builder builder) |
|
ApiClient |
ApiClient.setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) |
Set a custom ObjectMapper to serialize and deserialize the request
and response bodies.
|
ApiClient |
ApiClient.setPort(int port) |
Set a custom port number for the target service.
|
ApiClient |
ApiClient.setReadTimeout(Duration readTimeout) |
Set the read timeout for the http client.
|
ApiClient |
ApiClient.setRequestInterceptor(Consumer<HttpRequest.Builder> interceptor) |
Set a custom request interceptor.
|
ApiClient |
ApiClient.setResponseInterceptor(Consumer<HttpResponse<InputStream>> interceptor) |
Set a custom response interceptor.
|
ApiClient |
ApiClient.setScheme(String scheme) |
Set a custom scheme for the target service, for example 'https'.
|