Class ApiMethodDescriptor<RequestT,ResponseT> (2.9.0)

public abstract class ApiMethodDescriptor<RequestT,ResponseT>

Inheritance

java.lang.Object > ApiMethodDescriptor<RequestT,ResponseT>

Type Parameters

NameDescription
RequestT
ResponseT

Constructors

ApiMethodDescriptor()

public ApiMethodDescriptor()

Methods

<RequestT,ResponseT>newBuilder()

public static ApiMethodDescriptor.Builder<RequestT,ResponseT> <RequestT,ResponseT>newBuilder()
Returns
TypeDescription
Builder<RequestT,ResponseT>

getFullMethodName()

public abstract String getFullMethodName()
Returns
TypeDescription
String

getHttpMethod()

public abstract String getHttpMethod()

Return the HTTP method for this request message type.

Returns
TypeDescription
String

getOperationSnapshotFactory()

public abstract OperationSnapshotFactory<RequestT,ResponseT> getOperationSnapshotFactory()
Returns
TypeDescription
OperationSnapshotFactory<RequestT,ResponseT>

getPollingRequestFactory()

public abstract PollingRequestFactory<RequestT> getPollingRequestFactory()
Returns
TypeDescription
PollingRequestFactory<RequestT>

getRequestFormatter()

public abstract HttpRequestFormatter<RequestT> getRequestFormatter()
Returns
TypeDescription
HttpRequestFormatter<RequestT>

getResponseParser()

public abstract HttpResponseParser<ResponseT> getResponseParser()
Returns
TypeDescription
HttpResponseParser<ResponseT>