Class Response

    • Field Detail

      • STATUS_FAILURE

        public static int STATUS_FAILURE
      • STATUS_LOGIN_INCORRECT

        public static int STATUS_LOGIN_INCORRECT
      • STATUS_LOGIN_REQUIRED

        public static int STATUS_LOGIN_REQUIRED
      • STATUS_LOGIN_SUCCESS

        public static int STATUS_LOGIN_SUCCESS
      • STATUS_MAX_LOGIN_ATTEMPTS_EXCEEDED

        public static int STATUS_MAX_LOGIN_ATTEMPTS_EXCEEDED
      • STATUS_SERVER_TIMEOUT

        public static int STATUS_SERVER_TIMEOUT
      • STATUS_SUCCESS

        public static int STATUS_SUCCESS
      • STATUS_TRANSPORT_ERROR

        public static int STATUS_TRANSPORT_ERROR
      • STATUS_VALIDATION_ERROR

        public static int STATUS_VALIDATION_ERROR
    • Constructor Detail

      • Response

        public Response()
    • Method Detail

      • getStatus

        public int getStatus()
      • setStatus

        public void setStatus​(int status)
      • getOffset

        public int getOffset()
      • setOffset

        public void setOffset​(int offset)
      • getTotal

        public long getTotal()
      • setTotal

        public void setTotal​(long count)
      • getData

        public Object getData()
      • setData

        public void setData​(Object data)
      • addError

        public void addError​(String fieldName,
                             String errorMessage)
      • setException

        public void setException​(Throwable throwable)
      • getItem

        public Object getItem​(int index)