org.keycloak.authorization.client.util

## Class HttpResponseException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.keycloak.authorization.client.util.HttpResponseException

- All Implemented Interfaces:
    Serializable

      public class HttpResponseException
      extends RuntimeException

  Author:
    Pedro Igor
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HttpResponseException(String message, int statusCode, String reasonPhrase, byte[] bytes)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getBytes()`
    `String` | `getReasonPhrase()`
    `int` | `getStatusCode()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### HttpResponseException

          public HttpResponseException(String message,
                                       int statusCode,
                                       String reasonPhrase,
                                       byte[] bytes)

  - ### Method Detail

    - #### getStatusCode

          public int getStatusCode()

    - #### getReasonPhrase

          public String getReasonPhrase()

    - #### getBytes

          public byte[] getBytes()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Throwable`

Copyright © 2021 JBoss by Red Hat. All rights reserved.