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