Class HopsworksClient.BaseHandler<T>

java.lang.Object
com.logicalclocks.hsfs.metadata.HopsworksClient.BaseHandler<T>
All Implemented Interfaces:
org.apache.http.client.ResponseHandler<T>
Enclosing class:
HopsworksClient

protected static class HopsworksClient.BaseHandler<T> extends Object implements org.apache.http.client.ResponseHandler<T>
  • Constructor Details

    • BaseHandler

      public BaseHandler(Class<T> cls, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • handleResponse

      public T handleResponse(org.apache.http.HttpResponse response) throws org.apache.http.client.ClientProtocolException, IOException
      Specified by:
      handleResponse in interface org.apache.http.client.ResponseHandler<T>
      Throws:
      org.apache.http.client.ClientProtocolException
      IOException