Uses of Class
org.apache.camel.component.torchserve.client.management.invoker.ApiException
Packages that use ApiException
Package
Description
-
Uses of ApiException in org.apache.camel.component.torchserve.client.management.api
Methods in org.apache.camel.component.torchserve.client.management.api that throw ApiExceptionModifier and TypeMethodDescriptionDefaultApi.apiDescription()Get openapi description.DefaultApi.apiDescription(Map<String, String> additionalHeaders) Get openapi description.DefaultApi.apiDescription_0()Deprecated.DefaultApi.apiDescription_0(Map<String, String> additionalHeaders) Deprecated.DefaultApi.describeModel(String modelName) Provides detailed information about the default version of a model.DefaultApi.describeModel(String modelName, Map<String, String> additionalHeaders) Provides detailed information about the default version of a model.<T> TDefaultApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) DefaultApi.listModels(Integer limit, String nextPageToken) List registered models in TorchServe.List registered models in TorchServe.Get TorchServe application metrics in prometheus format.Get TorchServe application metrics in prometheus format.DefaultApi.registerModel(String url, String modelName, String handler, String runtime, Integer batchSize, Integer maxBatchDelay, Integer responseTimeout, Integer startupTimeout, Integer initialWorkers, Boolean synchronous, Boolean s3SseKms, Object body) Register a new model in TorchServe.DefaultApi.registerModel(String url, String modelName, String handler, String runtime, Integer batchSize, Integer maxBatchDelay, Integer responseTimeout, Integer startupTimeout, Integer initialWorkers, Boolean synchronous, Boolean s3SseKms, Object body, Map<String, String> additionalHeaders) Register a new model in TorchServe.DefaultApi.setAutoScale(String modelName, Integer minWorker, Integer maxWorker, Integer numberGpu, Boolean synchronous, Integer timeout) Configure number of workers for a default version of a model.DefaultApi.setAutoScale(String modelName, Integer minWorker, Integer maxWorker, Integer numberGpu, Boolean synchronous, Integer timeout, Map<String, String> additionalHeaders) Configure number of workers for a default version of a model.DefaultApi.setDefault(String modelName, String modelVersion) Set default version of a modelSet default version of a modelDefaultApi.unregisterModel(String modelName, Boolean synchronous, Integer timeout) Unregister the default version of a model from TorchServe if it is the only version available.DefaultApi.unregisterModel(String modelName, Boolean synchronous, Integer timeout, Map<String, String> additionalHeaders) Unregister the default version of a model from TorchServe if it is the only version available.DefaultApi.versionDescribeModel(String modelName, String modelVersion) Provides detailed information about the specified version of a model.If \"all\" is specified as version, returns the details about all the versions of the model.DefaultApi.versionDescribeModel(String modelName, String modelVersion, Map<String, String> additionalHeaders) Provides detailed information about the specified version of a model.If \"all\" is specified as version, returns the details about all the versions of the model.DefaultApi.versionSetAutoScale(String modelName, String modelVersion, Integer minWorker, Integer maxWorker, Integer numberGpu, Boolean synchronous, Integer timeout) Configure number of workers for a specified version of a model.DefaultApi.versionSetAutoScale(String modelName, String modelVersion, Integer minWorker, Integer maxWorker, Integer numberGpu, Boolean synchronous, Integer timeout, Map<String, String> additionalHeaders) Configure number of workers for a specified version of a model.DefaultApi.versionUnregisterModel(String modelName, String modelVersion, Boolean synchronous, Integer timeout) Unregister the specified version of a model from TorchServe.DefaultApi.versionUnregisterModel(String modelName, String modelVersion, Boolean synchronous, Integer timeout, Map<String, String> additionalHeaders) Unregister the specified version of a model from TorchServe. -
Uses of ApiException in org.apache.camel.component.torchserve.client.management.invoker
Methods in org.apache.camel.component.torchserve.client.management.invoker that throw ApiExceptionModifier and TypeMethodDescription<T> TApiClient.deserialize(org.apache.hc.client5.http.impl.classic.CloseableHttpResponse response, com.fasterxml.jackson.core.type.TypeReference<T> valueType) Deserialize response body to Java object according to the Content-Type.protected org.apache.hc.core5.http.ContentTypeApiClient.getContentType(String headerValue) Parse content type object from header valueprotected StringApiClient.getResponseMimeType(org.apache.hc.core5.http.HttpResponse response) Get content type of a response or null if one was not provided<T> TApiClient.invokeAPI(String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, String urlQueryDeepObject, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String accept, String contentType, String[] authNames, com.fasterxml.jackson.core.type.TypeReference<T> returnType) Invoke API by sending HTTP request with the given options.voidDirectly invoke the API for the given URL.<T> TBaseApi.invokeAPI(String url, String method, com.fasterxml.jackson.core.type.TypeReference<T> returnType) Directly invoke the API for the given URL.voidDirectly invoke the API for the given URL.<T> TBaseApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType) Directly invoke the API for the given URL.abstract <T> TBaseApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) Directly invoke the API for the given URL.voidDirectly invoke the API for the given URL.voidDirectly invoke the API for the given URL.protected <T> TApiClient.processResponse(org.apache.hc.client5.http.impl.classic.CloseableHttpResponse response, com.fasterxml.jackson.core.type.TypeReference<T> returnType) org.apache.hc.core5.http.HttpEntityApiClient.serialize(Object obj, Map<String, Object> formParams, org.apache.hc.core5.http.ContentType contentType) Serialize the given Java object into string according the given Content-Type (only JSON is supported for now). -
Uses of ApiException in org.apache.camel.component.torchserve.client.model
Constructors in org.apache.camel.component.torchserve.client.model with parameters of type ApiException