Class ResourceModelIssue
java.lang.Object
org.glassfish.jersey.server.model.ResourceModelIssue
Resource model validity issue.
Covers various model issues, such as duplicate URI templates, duplicate
HTTP method annotations, etc.
The model issues can be either fatal warnings or hings (see
getSeverity()).
While the non-fatal issues are merely reported as warnings in the log, the
fatal issues prevent the successful application deployment.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResourceModelIssue(Object source, String message) Create a new resource model warning.ResourceModelIssue(Object source, String message, Severity severity) Create a new resource model issue. -
Method Summary
-
Field Details
-
source
-
message
-
severity
-
-
Constructor Details
-
ResourceModelIssue
-
ResourceModelIssue
-
-
Method Details
-
getMessage
Human-readable description of the issue.- Returns:
- message describing the issue.
-
getSeverity
-
getSource
The issue source. Identifies the object where the issue was found.- Returns:
- source of the issue.
-
toString
-
equals
-
hashCode
-