Class ProblemDetails
java.lang.Object
io.apicurio.registry.rest.v3.beans.ProblemDetails
- Direct Known Subclasses:
RuleViolationProblemDetails
Root Type for Error
All error responses, whether `4xx` or `5xx` will include one of these as the response body.
-
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.getName()The name of the error (typically a server exception class name).The HTTP status code.getTitle()A short, human-readable summary of the problem type.getType()A URI reference [RFC3986] that identifies the problem type.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.voidThe name of the error (typically a server exception class name).voidThe HTTP status code.voidA short, human-readable summary of the problem type.voidA URI reference [RFC3986] that identifies the problem type.
-
Constructor Details
-
ProblemDetails
public ProblemDetails()
-
-
Method Details
-
getDetail
A human-readable explanation specific to this occurrence of the problem. -
setDetail
A human-readable explanation specific to this occurrence of the problem. -
getType
A URI reference [RFC3986] that identifies the problem type. -
setType
A URI reference [RFC3986] that identifies the problem type. -
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. (Required) -
setStatus
The HTTP status code. (Required) -
getInstance
A URI reference that identifies the specific occurrence of the problem. -
setInstance
A URI reference that identifies the specific occurrence of the problem. -
getName
The name of the error (typically a server exception class name). -
setName
The name of the error (typically a server exception class name).
-