Package io.github.belgif.rest.problem
Class TooManyFailedRequestsProblem
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.RetryAfterClientProblem
io.github.belgif.rest.problem.TooManyFailedRequestsProblem
- All Implemented Interfaces:
FluentProblem<TooManyFailedRequestsProblem>
,FluentRetryAfterProblem<TooManyFailedRequestsProblem>
,HttpResponseHeaders
,RetryAfter
,Serializable
public class TooManyFailedRequestsProblem
extends RetryAfterClientProblem
implements FluentRetryAfterProblem<TooManyFailedRequestsProblem>
HTTP 429: Too Many Failed Requests
(https://www.belgif.be/specification/rest/api-guide/problems/tooManyFailedRequests.html)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final URI
The href URI.static final int
The status.static final String
The title.static final String
The problem type.static final URI
The 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.RetryAfterClientProblem
getRetryAfter, getRetryAfterSec, setRetryAfter, setRetryAfterSec
Methods inherited from class io.github.belgif.rest.problem.api.Problem
getAdditionalProperties, getDetail, getHref, getInstance, getMessage, getStatus, getTitle, getType, setAdditionalProperty, setDetail, setHref, setInstance
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.github.belgif.rest.problem.api.FluentProblem
additionalProperty, detail, href, instance, setAdditionalProperty, setDetail, setHref, setInstance
Methods inherited from interface io.github.belgif.rest.problem.api.FluentRetryAfterProblem
retryAfter, retryAfterSec, setRetryAfter, setRetryAfterSec
Methods inherited from interface io.github.belgif.rest.problem.api.RetryAfter
getHttpResponseHeaders
-
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
-
TooManyFailedRequestsProblem
public TooManyFailedRequestsProblem()
-
-
Method Details
-
getLimit
-
setLimit
-
equals
- Overrides:
equals
in classRetryAfterClientProblem
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRetryAfterClientProblem
-