Class WrappedHTTPResponseException

    • Constructor Detail

      • WrappedHTTPResponseException

        public WrappedHTTPResponseException​(@Nullable String message,
                                            com.nimbusds.oauth2.sdk.http.HTTPResponse httpResponse)
        Creates a new wrapped HTTP response exception.
        Parameters:
        message - Optional message to log, null if not specified.
        httpResponse - The wrapped HTTP response, must not be null.
    • Method Detail

      • getHTTPResponse

        public com.nimbusds.oauth2.sdk.http.HTTPResponse getHTTPResponse()
        Returns the wrapped HTTP response.
        Returns:
        The HTTP response.