@BetaApi public abstract class ApiMethodDescriptor<RequestT,ResponseT> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiMethodDescriptor.Builder<RequestT,ResponseT> |
| Constructor and Description |
|---|
ApiMethodDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getFullMethodName() |
abstract String |
getHttpMethod()
Return the HTTP method for this request message type.
|
abstract HttpRequestFormatter<RequestT> |
getRequestFormatter() |
abstract HttpResponseParser<ResponseT> |
getResponseParser() |
static <RequestT,ResponseT> |
newBuilder() |
public abstract String getFullMethodName()
public abstract HttpRequestFormatter<RequestT> getRequestFormatter()
@Nullable public abstract HttpResponseParser<ResponseT> getResponseParser()
@Nullable public abstract String getHttpMethod()
public static <RequestT,ResponseT> ApiMethodDescriptor.Builder<RequestT,ResponseT> newBuilder()