Package com.google.api.gax.httpjson
Class HttpJsonLongRunningClient<RequestT,OperationT>
java.lang.Object
com.google.api.gax.httpjson.HttpJsonLongRunningClient<RequestT,OperationT>
- All Implemented Interfaces:
LongRunningClient
@InternalApi
public class HttpJsonLongRunningClient<RequestT,OperationT>
extends Object
implements LongRunningClient
Implementation of LongRunningClient based on REST transport.
Public for technical reasons. For internal use only.
-
Constructor Summary
ConstructorsConstructorDescriptionHttpJsonLongRunningClient(UnaryCallable<RequestT, OperationT> operationCallable, OperationSnapshotFactory<RequestT, OperationT> operationSnapshotFactory, PollingRequestFactory<RequestT> pollingRequestFactory) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
HttpJsonLongRunningClient
public HttpJsonLongRunningClient(UnaryCallable<RequestT, OperationT> operationCallable, OperationSnapshotFactory<RequestT, OperationT> operationSnapshotFactory, PollingRequestFactory<RequestT> pollingRequestFactory)
-
-
Method Details
-
getOperationCallable
- Specified by:
getOperationCallablein interfaceLongRunningClient
-
cancelOperationCallable
- Specified by:
cancelOperationCallablein interfaceLongRunningClient
-
deleteOperationCallable
- Specified by:
deleteOperationCallablein interfaceLongRunningClient
-