Class NimbusAirliftHttpClient.NimbusResponseHandler<T>

java.lang.Object
io.trino.server.security.oauth2.NimbusAirliftHttpClient.NimbusResponseHandler<T>
All Implemented Interfaces:
io.airlift.http.client.ResponseHandler<T,RuntimeException>
Enclosing class:
NimbusAirliftHttpClient

public static class NimbusAirliftHttpClient.NimbusResponseHandler<T> extends Object implements io.airlift.http.client.ResponseHandler<T,RuntimeException>
  • Constructor Details

  • Method Details

    • handleException

      public T handleException(io.airlift.http.client.Request request, Exception exception)
      Specified by:
      handleException in interface io.airlift.http.client.ResponseHandler<T,RuntimeException>
    • handle

      public T handle(io.airlift.http.client.Request request, io.airlift.http.client.Response response)
      Specified by:
      handle in interface io.airlift.http.client.ResponseHandler<T,RuntimeException>