Class ApiMethodDescriptor<RequestT,ResponseT> (2.53.0)

public abstract class ApiMethodDescriptor<RequestT,ResponseT>

Inheritance

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

Type Parameters

Name Description
RequestT
ResponseT

Static Methods

<RequestT,ResponseT>newBuilder()

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

Constructors

ApiMethodDescriptor()

public ApiMethodDescriptor()

Methods

getFullMethodName()

public abstract String getFullMethodName()
Returns
Type Description
String

getHttpMethod()

public abstract String getHttpMethod()

Return the HTTP method for this request message type.

Returns
Type Description
String

getOperationSnapshotFactory()

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

getPollingRequestFactory()

public abstract PollingRequestFactory<RequestT> getPollingRequestFactory()
Returns
Type Description
PollingRequestFactory<RequestT>

getRequestFormatter()

public abstract HttpRequestFormatter<RequestT> getRequestFormatter()
Returns
Type Description
HttpRequestFormatter<RequestT>

getResponseParser()

public abstract HttpResponseParser<ResponseT> getResponseParser()
Returns
Type Description
HttpResponseParser<ResponseT>

getType()

public abstract ApiMethodDescriptor.MethodType getType()
Returns
Type Description
ApiMethodDescriptor.MethodType

toBuilder()

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