Classe HttpJsonEndpointServiceCallableWorks (1.3.0)

public class HttpJsonEndpointServiceCallableFactory implements HttpJsonStubCallableFactory<Operation,OperationsStub>

Implementazione di fabbrica richiamabile REST per l'API del servizio EndpointService.

Questo corso è per un utilizzo avanzato.

Ereditarietà

java.lang.Object > HttpJsonEndpointServiceCallableFactory

Implementa

com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.longrunning.Operation,com.google.api.gax.httpjson.longrunning.stub.OperationsStub>

Costruttori

HttpJsonEndpointServiceCallableFactory()

public HttpJsonEndpointServiceCallableFactory()

Metodi

<RequestT,ResponseT,MetadataT>createOperationCallable(HttpJsonCallSettings<RequestT,Operation> httpJsonCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, OperationsStub OperationsStub)

public OperationCallable<RequestT,ResponseT,MetadataT> <RequestT,ResponseT,MetadataT>createOperationCallable(HttpJsonCallSettings<RequestT,Operation> httpJsonCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, OperationsStub operationsStub)
Parametri
Nome Description
httpJsonCallSettings HttpJsonCallSettings<RequestT,Operation>
callSettings OperationCallSettings<RequestT,ResponseT,MetadataT>
clientContext ClientContext
operationsStub OperationsStub
Restituisce
Tipo Description
OperationCallable<RequestT,ResponseT,MetadataT>

<RequestT,ResponseT,PagedListResponseT>createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,PagedListResponseT> <RequestT,ResponseT,PagedListResponseT>createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)
Parametri
Nome Description
httpJsonCallSettings HttpJsonCallSettings<RequestT,ResponseT>
callSettings PagedCallSettings<RequestT,ResponseT,PagedListResponseT>
clientContext ClientContext
Restituisce
Tipo Description
UnaryCallable<RequestT,PagedListResponseT>

<RequestT,ResponseT>createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,ResponseT> <RequestT,ResponseT>createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parametri
Nome Description
httpJsonCallSettings HttpJsonCallSettings<RequestT,ResponseT>
callSettings BatchingCallSettings<RequestT,ResponseT>
clientContext ClientContext
Restituisce
Tipo Description
UnaryCallable<RequestT,ResponseT>

<RequestT,ResponseT>createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public ServerStreamingCallable<RequestT,ResponseT> <RequestT,ResponseT>createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parametri
Nome Description
httpJsonCallSettings HttpJsonCallSettings<RequestT,ResponseT>
callSettings ServerStreamingCallSettings<RequestT,ResponseT>
clientContext ClientContext
Restituisce
Tipo Description
ServerStreamingCallable<RequestT,ResponseT>

<RequestT,ResponseT>createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,ResponseT> <RequestT,ResponseT>createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parametri
Nome Description
httpJsonCallSettings HttpJsonCallSettings<RequestT,ResponseT>
callSettings UnaryCallSettings<RequestT,ResponseT>
clientContext ClientContext
Restituisce
Tipo Description
UnaryCallable<RequestT,ResponseT>