Class SimpleHttpResponseHandler<T>

java.lang.Object
io.trino.server.remotetask.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>>
  • Constructor Details

  • Method Details

    • 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>