Package | Description |
---|---|
com.sdl.delivery.iq.index.client.http | |
com.sdl.delivery.iq.index.client.http.utils | |
com.sdl.delivery.iq.query.client.rest |
Modifier and Type | Method and Description |
---|---|
ApiClient |
ApiClient.addDefaultHeader(String key,
String value)
Add a default header.
|
ApiClient |
ApiClient.setBasePath(String path)
Set base path.
|
ApiClient |
ApiClient.setConnectTimeout(int connectionTimeout)
Sets the connect timeout (in milliseconds).
|
ApiClient |
ApiClient.setDateFormat(DateFormat format) |
ApiClient |
ApiClient.setDatetimeFormat(DateFormat format) |
ApiClient |
ApiClient.setDebugging(boolean debugOn)
Enable/disable debugging for this API client.
|
ApiClient |
ApiClient.setHttpClient(okhttp3.OkHttpClient client)
Set HTTP client.
|
ApiClient |
ApiClient.setLenientDatetimeFormat(boolean lenientFormat) |
ApiClient |
ApiClient.setMaxIdleConnections(int maxIdleConnections)
Sets the maximum number of idle connections in the pool.
|
ApiClient |
ApiClient.setReadTimeout(int readTimeout)
Sets the read time out.
|
ApiClient |
ApiClient.setSslCaCert(InputStream cert)
Configure the CA certificate to be trusted when making https requests.
|
ApiClient |
ApiClient.setTempFolderPath(String folderPath)
Set the temporary folder path (for downloading files).
|
ApiClient |
ApiClient.setUserAgent(String userAgent)
Set the User-Agent header's value (by adding to the default header map).
|
ApiClient |
ApiClient.setVerifyingSsl(boolean sslOn)
Configure whether to verify certificate and hostname when making https requests.
|
ApiClient |
ApiClient.setWriteTimeout(int writeTimeout)
Sets the write time out.
|
Modifier and Type | Method and Description |
---|---|
static ApiClient |
ApiClientConfiguration.getIndexApiClient() |
static ApiClient |
ApiClientConfiguration.getQueryApiClient() |
Modifier and Type | Method and Description |
---|---|
static void |
ApiClientConfiguration.setIndexApiClient(ApiClient indexApiClient) |
static void |
ApiClientConfiguration.setQueryApiClient(ApiClient queryApiClient) |
Constructor and Description |
---|
RestQueryClient(ApiClient client) |
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries