Class ApiMethodDescriptor<RequestT,ResponseT> (2.18.0)

public abstract class ApiMethodDescriptor<RequestT,ResponseT>

Inheritance

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

Type Parameters

NameDescription
RequestT
ResponseT

Static Methods

<RequestT,ResponseT>newBuilder()

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

Constructors

ApiMethodDescriptor()

public ApiMethodDescriptor()

Methods

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>

getType()

public abstract ApiMethodDescriptor.MethodType getType()
Returns
TypeDescription
ApiMethodDescriptor.MethodType

toBuilder()

public abstract ApiMethodDescriptor.Builder<RequestT,ResponseT> toBuilder()
Returns
TypeDescription
Builder<RequestT,ResponseT>