Class OAuth1Exception

    • Constructor Detail

      • OAuth1Exception

        public OAuth1Exception​(Response.Status status,
                               String wwwAuthHeader)
        Create a new exception.
        Parameters:
        status - Response status.
        wwwAuthHeader - Authorization header value of the request that cause the exception.
    • Method Detail

      • getStatus

        public Response.Status getStatus()
        Get the status of the error response.
        Returns:
        Response status code.
      • getWwwAuthHeader

        public String getWwwAuthHeader()
        Get the WWW-Authenticate header of the request that cause the exception.
        Returns:
        WWW-Authenticate header value.