Package io.github.ma1uta.matrix
Class RateLimitedErrorResponse
- java.lang.Object
-
- io.github.ma1uta.matrix.ErrorResponse
-
- io.github.ma1uta.matrix.RateLimitedErrorResponse
-
public class RateLimitedErrorResponse extends ErrorResponse
Rate limited error response.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.github.ma1uta.matrix.ErrorResponse
ErrorResponse.Code
-
-
Field Summary
Fields Modifier and Type Field Description private Long
retryAfterMs
Time to retry send a request.
-
Constructor Summary
Constructors Constructor Description RateLimitedErrorResponse()
RateLimitedErrorResponse(String errcode, String error)
RateLimitedErrorResponse(String errcode, String error, Long retryAfterMs)
-
Method Summary
Modifier and Type Method Description Long
getRetryAfterMs()
void
setRetryAfterMs(Long retryAfterMs)
-
Methods inherited from class io.github.ma1uta.matrix.ErrorResponse
getErrcode, getError, setErrcode, setError
-
-
-
-
Field Detail
-
retryAfterMs
private Long retryAfterMs
Time to retry send a request.
-
-