Class AuthError
java.lang.Object
io.apicurio.registry.rest.v2.beans.AuthError
Authentication/Authorization Error
Error response returned when authentication fails (401) or authorization is denied (403).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA human-readable explanation specific to this occurrence of the problem.A URI reference that identifies the specific occurrence of the problem (optional).getName()The name of the error, typically the server exception class name.The HTTP status code (401 for Unauthorized, 403 for Forbidden).getTitle()A short, human-readable summary of the problem type.getType()A URI reference [RFC3986] that identifies the problem type (optional).voidA human-readable explanation specific to this occurrence of the problem.voidsetInstance(String instance) A URI reference that identifies the specific occurrence of the problem (optional).voidThe name of the error, typically the server exception class name.voidThe HTTP status code (401 for Unauthorized, 403 for Forbidden).voidA short, human-readable summary of the problem type.voidA URI reference [RFC3986] that identifies the problem type (optional).
-
Constructor Details
-
AuthError
public AuthError()
-
-
Method Details
-
getDetail
A human-readable explanation specific to this occurrence of the problem. Typically includes the exception class name and message. -
setDetail
A human-readable explanation specific to this occurrence of the problem. Typically includes the exception class name and message. -
getTitle
A short, human-readable summary of the problem type. (Required) -
setTitle
A short, human-readable summary of the problem type. (Required) -
getStatus
The HTTP status code (401 for Unauthorized, 403 for Forbidden). (Required) -
setStatus
The HTTP status code (401 for Unauthorized, 403 for Forbidden). (Required) -
getName
The name of the error, typically the server exception class name. -
setName
The name of the error, typically the server exception class name. -
getType
A URI reference [RFC3986] that identifies the problem type (optional). -
setType
A URI reference [RFC3986] that identifies the problem type (optional). -
getInstance
A URI reference that identifies the specific occurrence of the problem (optional). -
setInstance
A URI reference that identifies the specific occurrence of the problem (optional).
-