Class ServiceHandlerApi
java.lang.Object
dev.restate.admin.api.ServiceHandlerApi
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondownloadFileFromResponse(HttpResponse<InputStream> response, InputStream responseBody) Deprecated.Download file from the given response.protected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response) Deprecated.getServiceHandler(String service, String handler) Deprecated.Get service handler Get the handler of a serviceDeprecated.Get service handler Get the handler of a servicegetServiceHandlerWithHttpInfo(String service, String handler) Deprecated.Get service handler Get the handler of a serviceDeprecated.Get service handler Get the handler of a servicelistServiceHandlers(String service) Deprecated.List service handlers List all the handlers of the given service.listServiceHandlers(String service, Map<String, String> headers) Deprecated.List service handlers List all the handlers of the given service.listServiceHandlersWithHttpInfo(String service) Deprecated.List service handlers List all the handlers of the given service.listServiceHandlersWithHttpInfo(String service, Map<String, String> headers) Deprecated.List service handlers List all the handlers of the given service.
-
Constructor Details
-
ServiceHandlerApi
public ServiceHandlerApi()Deprecated. -
ServiceHandlerApi
Deprecated.
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException Deprecated.- Throws:
IOException
-
downloadFileFromResponse
public File downloadFileFromResponse(HttpResponse<InputStream> response, InputStream responseBody) throws ApiException Deprecated.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
-
getServiceHandler
public HandlerMetadata getServiceHandler(@Nonnull String service, @Nonnull String handler) throws ApiException Deprecated.Get service handler Get the handler of a service- Parameters:
service- Fully qualified service name. (required)handler- Handler name. (required)- Returns:
- HandlerMetadata
- Throws:
ApiException- if fails to make API call
-
getServiceHandler
public HandlerMetadata getServiceHandler(@Nonnull String service, @Nonnull String handler, Map<String, String> headers) throws ApiExceptionDeprecated.Get service handler Get the handler of a service- Parameters:
service- Fully qualified service name. (required)handler- Handler name. (required)headers- Optional headers to include in the request- Returns:
- HandlerMetadata
- Throws:
ApiException- if fails to make API call
-
getServiceHandlerWithHttpInfo
public ApiResponse<HandlerMetadata> getServiceHandlerWithHttpInfo(@Nonnull String service, @Nonnull String handler) throws ApiException Deprecated.Get service handler Get the handler of a service- Parameters:
service- Fully qualified service name. (required)handler- Handler name. (required)- Returns:
- ApiResponse<HandlerMetadata>
- Throws:
ApiException- if fails to make API call
-
getServiceHandlerWithHttpInfo
public ApiResponse<HandlerMetadata> getServiceHandlerWithHttpInfo(@Nonnull String service, @Nonnull String handler, Map<String, String> headers) throws ApiExceptionDeprecated.Get service handler Get the handler of a service- Parameters:
service- Fully qualified service name. (required)handler- Handler name. (required)headers- Optional headers to include in the request- Returns:
- ApiResponse<HandlerMetadata>
- Throws:
ApiException- if fails to make API call
-
listServiceHandlers
Deprecated.List service handlers List all the handlers of the given service.- Parameters:
service- Fully qualified service name. (required)- Returns:
- ListServiceHandlersResponse
- Throws:
ApiException- if fails to make API call
-
listServiceHandlers
public ListServiceHandlersResponse listServiceHandlers(@Nonnull String service, Map<String, String> headers) throws ApiExceptionDeprecated.List service handlers List all the handlers of the given service.- Parameters:
service- Fully qualified service name. (required)headers- Optional headers to include in the request- Returns:
- ListServiceHandlersResponse
- Throws:
ApiException- if fails to make API call
-
listServiceHandlersWithHttpInfo
public ApiResponse<ListServiceHandlersResponse> listServiceHandlersWithHttpInfo(@Nonnull String service) throws ApiException Deprecated.List service handlers List all the handlers of the given service.- Parameters:
service- Fully qualified service name. (required)- Returns:
- ApiResponse<ListServiceHandlersResponse>
- Throws:
ApiException- if fails to make API call
-
listServiceHandlersWithHttpInfo
public ApiResponse<ListServiceHandlersResponse> listServiceHandlersWithHttpInfo(@Nonnull String service, Map<String, String> headers) throws ApiExceptionDeprecated.List service handlers List all the handlers of the given service.- Parameters:
service- Fully qualified service name. (required)headers- Optional headers to include in the request- Returns:
- ApiResponse<ListServiceHandlersResponse>
- Throws:
ApiException- if fails to make API call
-