Class ResponseHandler<T>

java.lang.Object
org.stellar.sdk.requests.ResponseHandler<T>

public class ResponseHandler<T> extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    ResponseHandler(com.google.gson.reflect.TypeToken<T> type)
    "Generics on a type are typically erased at runtime, except when the type is compiled with the generic parameter bound.
  • Method Summary

    Modifier and Type
    Method
    Description
    handleResponse(okhttp3.Response response)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ResponseHandler

      public ResponseHandler(com.google.gson.reflect.TypeToken<T> type)
      "Generics on a type are typically erased at runtime, except when the type is compiled with the generic parameter bound. In that case, the compiler inserts the generic type information into the compiled class. In other cases, that is not possible." More info: http://stackoverflow.com/a/14506181
      Parameters:
      type -
  • Method Details