Interface HttpJsonChannel (2.10.0)

public interface HttpJsonChannel

HttpJsonChannel contains the functionality to issue http-json calls.

Methods

<RequestT,ResponseT>newCall(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor, HttpJsonCallOptions callOptions)

public abstract HttpJsonClientCall<RequestT,ResponseT> <RequestT,ResponseT>newCall(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor, HttpJsonCallOptions callOptions)
Parameters
NameDescription
methodDescriptorApiMethodDescriptor<RequestT,ResponseT>
callOptionsHttpJsonCallOptions
Returns
TypeDescription
HttpJsonClientCall<RequestT,ResponseT>

<ResponseT,RequestT>issueFutureUnaryCall(HttpJsonCallOptions callOptions, RequestT request, ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)

public abstract ApiFuture<ResponseT> <ResponseT,RequestT>issueFutureUnaryCall(HttpJsonCallOptions callOptions, RequestT request, ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)
Parameters
NameDescription
callOptionsHttpJsonCallOptions
requestRequestT
methodDescriptorApiMethodDescriptor<RequestT,ResponseT>
Returns
TypeDescription
com.google.api.core.ApiFuture<ResponseT>