Class OAuth2ErrorResponse

java.lang.Object
org.apache.gravitino.dto.responses.OAuth2ErrorResponse
All Implemented Interfaces:
RESTMessage, RESTResponse

public class OAuth2ErrorResponse extends Object implements RESTResponse
Represents the response of an OAuth2 error.
  • Constructor Details

    • OAuth2ErrorResponse

      public OAuth2ErrorResponse(String type, String message)
      Creates a new OAuth2ErrorResponse.
      Parameters:
      type - The type of the error.
      message - The message of the error.
    • OAuth2ErrorResponse

      public OAuth2ErrorResponse()
      This is the constructor that is used by Jackson deserializer
  • Method Details