Uses of Class
org.apache.camel.component.torchserve.client.metrics.invoker.ApiClient
Packages that use ApiClient
Package
Description
-
Uses of ApiClient in org.apache.camel.component.torchserve.client.metrics.api
Constructors in org.apache.camel.component.torchserve.client.metrics.api with parameters of type ApiClient -
Uses of ApiClient in org.apache.camel.component.torchserve.client.metrics.invoker
Fields in org.apache.camel.component.torchserve.client.metrics.invoker declared as ApiClientMethods in org.apache.camel.component.torchserve.client.metrics.invoker that return ApiClientModifier and TypeMethodDescriptionApiClient.addDefaultCookie(String key, String value) Add a default cookie.ApiClient.addDefaultHeader(String key, String value) Add a default header.BaseApi.getApiClient()static ApiClientConfiguration.getDefaultApiClient()Get the default API client, which would be used when creating API instances without providing an API client.ApiClient.setBasePath(String basePath) Sets the base path.ApiClient.setConnectTimeout(int connectionTimeout) Set the connect timeout (in milliseconds).ApiClient.setDateFormat(DateFormat dateFormat) Set the date format used to parse/format date parameters.ApiClient.setDebugging(boolean debugging) Enable/disable debugging for this API client.ApiClient.setHttpClient(org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient) Sets the HTTP client.ApiClient.setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Sets the object mapper.ApiClient.setServerIndex(Integer serverIndex) Sets the server index.ApiClient.setServers(List<ServerConfiguration> servers) Sets the server.ApiClient.setServerVariables(Map<String, String> serverVariables) Sets the server variables.ApiClient.setTempFolderPath(String tempFolderPath) Set temp folder pathfinal ApiClientApiClient.setUserAgent(String userAgent) Set the User-Agent header's value (by adding to the default header map).Methods in org.apache.camel.component.torchserve.client.metrics.invoker with parameters of type ApiClientModifier and TypeMethodDescriptionvoidBaseApi.setApiClient(ApiClient apiClient) static voidConfiguration.setDefaultApiClient(ApiClient apiClient) Set the default API client, which would be used when creating API instances without providing an API client.Constructors in org.apache.camel.component.torchserve.client.metrics.invoker with parameters of type ApiClient