Interface Request<T>

  • All Known Implementing Classes:
    HttpCall

    public interface Request<T>
    Request class executes the request that has been prepared
    • Method Detail

      • execute

        T execute()
           throws java.io.IOException
        Executes synchronously
        Returns:
        Response
        Throws:
        java.io.IOException - an exception if there exist errors
      • execute

        void execute​(Callback<T> callback)
        Executes asynchronously
        Parameters:
        callback - the callback is invoked when the execution is completed