public class FullJsonResponseHandler<T> extends Object implements ResponseHandler<FullJsonResponseHandler.JsonResponse<T>,RuntimeException>
Modifier and Type | Class and Description |
---|---|
static class |
FullJsonResponseHandler.JsonResponse<T> |
Modifier and Type | Method and Description |
---|---|
static <T> FullJsonResponseHandler<T> |
createFullJsonResponseHandler(JsonCodec<T> jsonCodec) |
FullJsonResponseHandler.JsonResponse<T> |
handle(Request request,
Response response) |
FullJsonResponseHandler.JsonResponse<T> |
handleException(Request request,
Exception exception) |
public static <T> FullJsonResponseHandler<T> createFullJsonResponseHandler(JsonCodec<T> jsonCodec)
public FullJsonResponseHandler.JsonResponse<T> handleException(Request request, Exception exception)
handleException
in interface ResponseHandler<FullJsonResponseHandler.JsonResponse<T>,RuntimeException>
public FullJsonResponseHandler.JsonResponse<T> handle(Request request, Response response)
handle
in interface ResponseHandler<FullJsonResponseHandler.JsonResponse<T>,RuntimeException>
Copyright © 2010-2017 Airlift. All Rights Reserved.