@NotLog public class TooManyRequestsException extends HttpException implements HttpHeaderApply
| Modifier and Type | Field and Description |
|---|---|
static int |
SC_TOO_MANY_REQUESTS |
| Constructor and Description |
|---|
TooManyRequestsException() |
TooManyRequestsException(String message) |
TooManyRequestsException(String message,
Throwable cause) |
TooManyRequestsException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(javax.servlet.http.HttpServletResponse response) |
String |
getReason() |
Long |
getRetryAfter() |
TooManyRequestsException |
setDetailKey(ResKey detailKey) |
TooManyRequestsException |
setDetailKey(String detailKey) |
TooManyRequestsException |
setReason(String reason) |
TooManyRequestsException |
setRetryAfter(Long retryAfter) |
TooManyRequestsException |
setTitleKey(ResKey titleKey) |
TooManyRequestsException |
setTitleKey(String titleKey) |
getProblemaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int SC_TOO_MANY_REQUESTS
public TooManyRequestsException()
public TooManyRequestsException(String message)
public TooManyRequestsException(Throwable cause)
public void apply(javax.servlet.http.HttpServletResponse response)
apply in interface HttpHeaderApplypublic String getReason()
public TooManyRequestsException setReason(String reason)
public Long getRetryAfter()
public TooManyRequestsException setRetryAfter(Long retryAfter)
public TooManyRequestsException setTitleKey(String titleKey)
setTitleKey in class HttpExceptionpublic TooManyRequestsException setTitleKey(ResKey titleKey)
setTitleKey in class HttpExceptionpublic TooManyRequestsException setDetailKey(String detailKey)
setDetailKey in class HttpExceptionpublic TooManyRequestsException setDetailKey(ResKey detailKey)
setDetailKey in class HttpExceptionCopyright © 2021. All rights reserved.