Class AuthError

java.lang.Object
io.apicurio.registry.rest.v2.beans.AuthError

@Generated("jsonschema2pojo") public class AuthError extends Object
Authentication/Authorization Error

Error response returned when authentication fails (401) or authorization is denied (403).

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    A human-readable explanation specific to this occurrence of the problem.
    A URI reference that identifies the specific occurrence of the problem (optional).
    The name of the error, typically the server exception class name.
    The HTTP status code (401 for Unauthorized, 403 for Forbidden).
    A short, human-readable summary of the problem type.
    A URI reference [RFC3986] that identifies the problem type (optional).
    void
    setDetail(String detail)
    A human-readable explanation specific to this occurrence of the problem.
    void
    setInstance(String instance)
    A URI reference that identifies the specific occurrence of the problem (optional).
    void
    The name of the error, typically the server exception class name.
    void
    The HTTP status code (401 for Unauthorized, 403 for Forbidden).
    void
    A short, human-readable summary of the problem type.
    void
    A URI reference [RFC3986] that identifies the problem type (optional).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AuthError

      public AuthError()
  • Method Details

    • getDetail

      public String getDetail()
      A human-readable explanation specific to this occurrence of the problem. Typically includes the exception class name and message.
    • setDetail

      public void setDetail(String detail)
      A human-readable explanation specific to this occurrence of the problem. Typically includes the exception class name and message.
    • getTitle

      public String getTitle()
      A short, human-readable summary of the problem type. (Required)
    • setTitle

      public void setTitle(String title)
      A short, human-readable summary of the problem type. (Required)
    • getStatus

      public Integer getStatus()
      The HTTP status code (401 for Unauthorized, 403 for Forbidden). (Required)
    • setStatus

      public void setStatus(Integer status)
      The HTTP status code (401 for Unauthorized, 403 for Forbidden). (Required)
    • getName

      public String getName()
      The name of the error, typically the server exception class name.
    • setName

      public void setName(String name)
      The name of the error, typically the server exception class name.
    • getType

      public String getType()
      A URI reference [RFC3986] that identifies the problem type (optional).
    • setType

      public void setType(String type)
      A URI reference [RFC3986] that identifies the problem type (optional).
    • getInstance

      public String getInstance()
      A URI reference that identifies the specific occurrence of the problem (optional).
    • setInstance

      public void setInstance(String instance)
      A URI reference that identifies the specific occurrence of the problem (optional).