Class APIResponse<T extends SimpleAPI>

  • Type Parameters:
    T - Your class which extends SimpleAPI

    public abstract class APIResponse<T extends SimpleAPI>
    extends java.lang.Object
    Abstract class with which you can extend your response classes - They will be able to get http response code and your SimpleAPI object (useful for "live" API objects)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected T api  
      protected int responseCode  
    • Constructor Summary

      Constructors 
      Constructor Description
      APIResponse()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • responseCode

        protected int responseCode
    • Constructor Detail

      • APIResponse

        public APIResponse()