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 String |
HANDLER_SERIALIZATION_METRICS_NAME |
static int |
HTTP_BAD_REQUEST |
static int |
HTTP_INTERNAL_SERVER_ERROR |
static int |
HTTP_OK |
static int |
HTTP_UNAUTHENTICATED |
static int |
HTTP_UNAUTHORIZED |
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_BAD_REQUEST
static final int HTTP_UNAUTHENTICATED
static final int HTTP_UNAUTHORIZED
static final int HTTP_INTERNAL_SERVER_ERROR
static final String HANDLER_SERIALIZATION_METRICS_NAME
Handler.HandlerResponse<T> apply(T request)
void setRpcMetadata(Service.RpcMetadataResponse metadata)
metadata
- Server-wide informationCopyright © 2012-2024 Apache Software Foundation. All Rights Reserved.