Package io.airlift.http.client
Class FullJsonResponseHandler<T>
java.lang.Object
io.airlift.http.client.FullJsonResponseHandler<T>
- All Implemented Interfaces:
ResponseHandler<FullJsonResponseHandler.JsonResponse<T>,
RuntimeException>
public class FullJsonResponseHandler<T>
extends Object
implements ResponseHandler<FullJsonResponseHandler.JsonResponse<T>,RuntimeException>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> FullJsonResponseHandler
<T> createFullJsonResponseHandler
(JsonCodec<T> jsonCodec) handleException
(Request request, Exception exception)
-
Method Details
-
createFullJsonResponseHandler
-
handleException
public FullJsonResponseHandler.JsonResponse<T> handleException(Request request, Exception exception) - Specified by:
handleException
in interfaceResponseHandler<FullJsonResponseHandler.JsonResponse<T>,
RuntimeException>
-
handle
- Specified by:
handle
in interfaceResponseHandler<FullJsonResponseHandler.JsonResponse<T>,
RuntimeException>
-