Class SimpleHttpResponseHandler<T>

  • All Implemented Interfaces:
    com.google.common.util.concurrent.FutureCallback<io.airlift.http.client.FullJsonResponseHandler.JsonResponse<T>>

    public class SimpleHttpResponseHandler<T>
    extends Object
    implements com.google.common.util.concurrent.FutureCallback<io.airlift.http.client.FullJsonResponseHandler.JsonResponse<T>>
    • Method Detail

      • onSuccess

        public void onSuccess​(io.airlift.http.client.FullJsonResponseHandler.JsonResponse<T> response)
        Specified by:
        onSuccess in interface com.google.common.util.concurrent.FutureCallback<T>
      • onFailure

        public void onFailure​(Throwable t)
        Specified by:
        onFailure in interface com.google.common.util.concurrent.FutureCallback<T>