Class ServiceHandlerApi

java.lang.Object
dev.restate.admin.api.ServiceHandlerApi

public class ServiceHandlerApi extends Object
  • Constructor Details

    • ServiceHandlerApi

      public ServiceHandlerApi()
    • ServiceHandlerApi

      public ServiceHandlerApi(ApiClient apiClient)
  • Method Details

    • getApiException

      protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException
      Throws:
      IOException
    • getServiceHandler

      public HandlerMetadata getServiceHandler(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:
      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

      public ListServiceHandlersResponse listServiceHandlers(String service) throws ApiException
      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