Package dev.restate.admin.api
Class ServiceHandlerApi
java.lang.Object
dev.restate.admin.api.ServiceHandlerApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ApiException
getApiException
(String operationId, HttpResponse<InputStream> response) getServiceHandler
(String service, String handler) Get service handler Get the handler of a servicegetServiceHandlerWithHttpInfo
(String service, String handler) Get service handler Get the handler of a servicelistServiceHandlers
(String service) List service handlers List all the handlers of the given service.listServiceHandlersWithHttpInfo
(String service) List service handlers List all the handlers of the given service.
-
Constructor Details
-
ServiceHandlerApi
public ServiceHandlerApi() -
ServiceHandlerApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
getServiceHandler
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
-
getServiceHandlerWithHttpInfo
public ApiResponse<HandlerMetadata> getServiceHandlerWithHttpInfo(String service, String handler) throws ApiException 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
-
listServiceHandlers
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
-
listServiceHandlersWithHttpInfo
public ApiResponse<ListServiceHandlersResponse> listServiceHandlersWithHttpInfo(String service) throws ApiException 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
-