@BetaApi public class HttpJsonCallableFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static <RequestT,ResponseT> |
createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings,
com.google.api.gax.rpc.BatchingCallSettings<RequestT,ResponseT> batchingCallSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a callable object that represents a batching API method.
|
static <RequestT,ResponseT,PagedListResponseT> |
createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings,
com.google.api.gax.rpc.PagedCallSettings<RequestT,ResponseT,PagedListResponseT> pagedCallSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a paged callable object that represents a paged API method.
|
static <RequestT,ResponseT> |
createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings,
com.google.api.gax.rpc.UnaryCallSettings<RequestT,ResponseT> callSettings,
com.google.api.gax.rpc.ClientContext clientContext)
Create a callable object with http/json-specific functionality.
|
public static <RequestT,ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,ResponseT> createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.UnaryCallSettings<RequestT,ResponseT> callSettings, com.google.api.gax.rpc.ClientContext clientContext)
httpJsonCallSettings - the http/json call settingscallSettings - UnaryCallSettings to configure the method-level settings with.clientContext - ClientContext to use to connect to the service.UnaryCallable callable object.public static <RequestT,ResponseT,PagedListResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,PagedListResponseT> createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.PagedCallSettings<RequestT,ResponseT,PagedListResponseT> pagedCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
httpJsonCallSettings - the http/json call settingspagedCallSettings - PagedCallSettings to configure the paged settings with.clientContext - ClientContext to use to connect to the service.UnaryCallable callable object.public static <RequestT,ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,ResponseT> createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.BatchingCallSettings<RequestT,ResponseT> batchingCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
httpJsonCallSettings - the http/json call settingsbatchingCallSettings - BatchingCallSettings to configure the batching related
settings with.clientContext - ClientContext to use to connect to the service.UnaryCallable callable object.