Package dev.restate.admin.api
Class HealthApi
java.lang.Object
dev.restate.admin.api.HealthApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondownloadFileFromResponse(HttpResponse<InputStream> response) Download file from the given response.protected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response) voidhealth()Health check Check REST API Health.voidHealth check Check REST API Health.Health check Check REST API Health.healthWithHttpInfo(Map<String, String> headers) Health check Check REST API Health.
-
Constructor Details
-
HealthApi
public HealthApi() -
HealthApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
downloadFileFromResponse
Download file from the given response.- Parameters:
response- Response- Returns:
- File
- Throws:
ApiException- If fail to read file content from response and write to disk
-
health
Health check Check REST API Health.- Throws:
ApiException- if fails to make API call
-
health
Health check Check REST API Health.- Parameters:
headers- Optional headers to include in the request- Throws:
ApiException- if fails to make API call
-
healthWithHttpInfo
Health check Check REST API Health.- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call
-
healthWithHttpInfo
Health check Check REST API Health.- Parameters:
headers- Optional headers to include in the request- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call
-