Uses of Class
org.apache.camel.component.torchserve.client.metrics.invoker.ApiException
Packages that use ApiException
Package
Description
-
Uses of ApiException in org.apache.camel.component.torchserve.client.metrics.api
Methods in org.apache.camel.component.torchserve.client.metrics.api that throw ApiExceptionModifier and TypeMethodDescription<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. -
Uses of ApiException in org.apache.camel.component.torchserve.client.metrics.invoker
Methods in org.apache.camel.component.torchserve.client.metrics.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