| Package | Description |
|---|---|
| org.apache.calcite.avatica.remote |
JDBC driver that uses remote procedure calls.
|
| Modifier and Type | Method and Description |
|---|---|
Handler.HandlerResponse<byte[]> |
ProtobufHandler.apply(byte[] requestBytes) |
Handler.HandlerResponse<String> |
JsonHandler.apply(String jsonRequest) |
Handler.HandlerResponse<T> |
AbstractHandler.apply(T serializedRequest)
Compute a response for the given request, handling errors generated by that computation.
|
Handler.HandlerResponse<T> |
Handler.apply(T request) |
Handler.HandlerResponse<T> |
AbstractHandler.convertToErrorResponse(Exception e)
Attempts to convert an Exception to an ErrorResponse.
|
private Handler.HandlerResponse<T> |
AbstractHandler.createErrorResponse(Exception e,
int statusCode) |
Handler.HandlerResponse<T> |
AbstractHandler.unauthenticatedErrorResponse(Exception e)
Attempts to convert an Exception to an ErrorResponse with an HTTP status code of
401. |
Handler.HandlerResponse<T> |
AbstractHandler.unauthorizedErrorResponse(Exception e)
Attempts to convert an Exception to an ErrorResponse with an HTTP stauts code of
403. |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.