Interface HttpResponse

    • Method Detail

      • getStatusCode

        int getStatusCode()
        Get the numeric status code of the response. For example, 200 (OK), 500 (Server Error), etc.
        Returns:
        the status code
      • getStatusReason

        String getStatusReason()
        Get the string status reason of the response. For example, "OK", "Internal Server Error", etc.
        Returns:
        the status reason
      • isServerResponse

        boolean isServerResponse()
        Returns true if the response originated in a remote server, false if it was sent from an SBB or caused by an RA internal error.
        Returns:
        true for remote server response, false for other type of responses