Package io.github.belgif.rest.problem
Class MissingScopeProblem
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.MissingScopeProblem
- All Implemented Interfaces:
Serializable
HTTP 403: Missing Scope (https://www.belgif.be/specification/rest/api-guide/problems/missingScope.html)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRequiredScope(String requiredScope) voidsetRequiredScopes(String... requiredScopes) voidsetRequiredScopes(List<String> requiredScopes) Methods inherited from class io.github.belgif.rest.problem.api.Problem
getDetail, getHref, getInstance, getMessage, getStatus, getTitle, getType, 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
-
MissingScopeProblem
public MissingScopeProblem() -
MissingScopeProblem
-
-
Method Details
-
getRequiredScopes
-
setRequiredScopes
-
setRequiredScopes
-
addRequiredScope
-