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<java.lang.String> |
JsonHandler.apply(java.lang.String jsonRequest) |
|
Handler.HandlerResponse<byte[]> |
ProtobufHandler.apply(byte[] requestBytes) |
|
Handler.HandlerResponse<T> |
AbstractHandler.convertToErrorResponse(java.lang.Exception e) |
Attempts to convert an Exception to an ErrorResponse.
|
private Handler.HandlerResponse<T> |
AbstractHandler.createErrorResponse(java.lang.Exception e,
int statusCode) |
|
Handler.HandlerResponse<T> |
AbstractHandler.unauthenticatedErrorResponse(java.lang.Exception e) |
Attempts to convert an Exception to an ErrorResponse with an HTTP status code of 401.
|
Handler.HandlerResponse<T> |
AbstractHandler.unauthorizedErrorResponse(java.lang.Exception e) |
Attempts to convert an Exception to an ErrorResponse with an HTTP stauts code of 403.
|