Uses of Class
org.apache.camel.component.torchserve.client.inference.invoker.ApiException
Packages that use ApiException
Package
Description
-
Uses of ApiException in org.apache.camel.component.torchserve.client.inference.api
Methods in org.apache.camel.component.torchserve.client.inference.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.<T> TDefaultApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) Get TorchServe application metrics in prometheus format.Get TorchServe application metrics in prometheus format.DefaultApi.ping()Get TorchServe status.Get TorchServe status.DefaultApi.predictions(String modelName, Object body) Predictions entry point to get inference using default model version.Predictions entry point to get inference using default model version.DefaultApi.predictions_0(String modelName, Object body) Predictions entry point to get inference using default model version.Predictions entry point to get inference using default model version.DefaultApi.predictions_1(String modelName, Object body) Predictions entry point to get inference using default model version.Predictions entry point to get inference using default model version.DefaultApi.versionPredictions(String modelName, String modelVersion, Object body) Predictions entry point to get inference using specific model version.DefaultApi.versionPredictions(String modelName, String modelVersion, Object body, Map<String, String> additionalHeaders) Predictions entry point to get inference using specific model version. -
Uses of ApiException in org.apache.camel.component.torchserve.client.inference.invoker
Methods in org.apache.camel.component.torchserve.client.inference.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