T - The type this handler accepts and returnspublic interface Handler<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Handler.HandlerResponse<T>
Struct that encapsulates the context of the result of a request to Avatica.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_INTERNAL_SERVER_ERROR |
static int |
HTTP_OK |
| Modifier and Type | Method and Description |
|---|---|
Handler.HandlerResponse<T> |
apply(T request) |
void |
setRpcMetadata(Service.RpcMetadataResponse metadata)
Sets some general server information to return to the client in all responses.
|
static final int HTTP_OK
static final int HTTP_INTERNAL_SERVER_ERROR
Handler.HandlerResponse<T> apply(T request)
void setRpcMetadata(Service.RpcMetadataResponse metadata)
metadata - Server-wide informationCopyright © 2012–2016 The Apache Software Foundation. All rights reserved.