Package io.github.belgif.rest.problem
Class InvalidAccessTokenProblem
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.InvalidAccessTokenProblem
- All Implemented Interfaces:
FluentProblem<InvalidAccessTokenProblem>,HttpResponseHeaders,Serializable
public class InvalidAccessTokenProblem
extends ClientProblem
implements FluentProblem<InvalidAccessTokenProblem>, HttpResponseHeaders
HTTP 401: Invalid Access Token (https://www.belgif.be/specification/rest/api-guide/problems/invalidAccessToken.html)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final URIThe href URI.static final intThe status.static final StringThe title.static final StringThe problem type.static final URIThe problem type URI.Fields inherited from interface io.github.belgif.rest.problem.api.HttpResponseHeaders
RETRY_AFTER, WWW_AUTHENTICATE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.belgif.rest.problem.api.Problem
getAdditionalProperties, getDetail, getHref, getInstance, getMessage, getStatus, getTitle, getType, setAdditionalProperty, setDetail, setHref, setInstanceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.belgif.rest.problem.api.FluentProblem
additionalProperty, detail, href, instance, setAdditionalProperty, setDetail, setHref, setInstance
-
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
-
InvalidAccessTokenProblem
public InvalidAccessTokenProblem() -
InvalidAccessTokenProblem
-
-
Method Details
-
realm
-
getHttpResponseHeaders
Description copied from interface:HttpResponseHeadersReturn the HTTP response headers.- Specified by:
getHttpResponseHeadersin interfaceHttpResponseHeaders- Returns:
- the HTTP response headers
-
equals
-
hashCode
public int hashCode()
-