Package io.github.belgif.rest.problem
Class ResourceNotFoundProblem
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.belgif.rest.problem.api.Problem
io.github.belgif.rest.problem.api.ClientProblem
io.github.belgif.rest.problem.api.InputValidationProblem
io.github.belgif.rest.problem.ResourceNotFoundProblem
- All Implemented Interfaces:
Serializable
HTTP 404: Resource Not Found (https://www.belgif.be/specification/rest/api-guide/problems/resourceNotFound.html)
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResourceNotFoundProblem(String resource, InEnum in, String name, Object value) ResourceNotFoundProblem(String detail, InputValidationIssue issue) ResourceNotFoundProblem(String resource, InvalidParam param) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.inthashCode()voidsetInvalidParams(List<InvalidParam> invalidParams) Deprecated.Methods inherited from class io.github.belgif.rest.problem.api.InputValidationProblem
addIssue, getIssues, getMessage, setIssues, setIssuesMethods inherited from class io.github.belgif.rest.problem.api.Problem
getAdditionalProperties, getDetail, getHref, getInstance, getStatus, getTitle, getType, setAdditionalProperty, setDetail, setHref, setInstanceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
TYPE
The problem type.- See Also:
-
TYPE_URI
The problem type URI. -
HREF
The href URI. -
TITLE
The title.- See Also:
-
STATUS
public static final int STATUSThe status.- See Also:
-
-
Constructor Details
-
ResourceNotFoundProblem
public ResourceNotFoundProblem() -
ResourceNotFoundProblem
Deprecated.Deprecated ResourceNotFoundProblem constructor with InvalidParam.- Parameters:
resource- the resource nameparam- the resource key
-
ResourceNotFoundProblem
-
ResourceNotFoundProblem
-
-
Method Details
-
getInvalidParams
Deprecated. -
setInvalidParams
Deprecated. -
equals
- Overrides:
equalsin classInputValidationProblem
-
hashCode
public int hashCode()- Overrides:
hashCodein classInputValidationProblem
-
ResourceNotFoundProblem(String, InEnum, String, Object)