Class ClientBatchCheckResponse

    • Method Detail

      • getAllowed

        public java.lang.Boolean getAllowed()
        Returns the result of the check.

        If the HTTP request was unsuccessful, this result will be null. If this is the case, you can examine the original request with getRequest() and the exception with getThrowable().

        Overrides:
        getAllowed in class CheckResponse
        Returns:
        the check result. Is null if the HTTP request was unsuccessful.
      • getThrowable

        public java.lang.Throwable getThrowable()
        Returns the caught exception if the HTTP request was unsuccessful.

        If the HTTP request was unsuccessful, this result will be null. If this is the case, you can examine the original request with getRequest() and the exception with getThrowable().

        Returns:
        the caught exception. Is null if the HTTP request was successful.
      • getStatusCode

        public int getStatusCode()
      • getHeaders

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
      • getRawResponse

        public java.lang.String getRawResponse()
      • getRelation

        public java.lang.String getRelation()