public class ResteasyServiceUnavailableException extends javax.ws.rs.ServiceUnavailableException implements WebApplicationExceptionWrapper<javax.ws.rs.ServiceUnavailableException>
ServiceUnavailableException
with a sanitized response.Modifier and Type | Method and Description |
---|---|
Date |
getRetryTime(Date requestTime) |
boolean |
hasRetryAfter() |
javax.ws.rs.ServiceUnavailableException |
unwrap()
Returns the original, unwrapped, exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
sanitize, unwrap, wrap
public boolean hasRetryAfter()
hasRetryAfter
in class javax.ws.rs.ServiceUnavailableException
public Date getRetryTime(Date requestTime)
getRetryTime
in class javax.ws.rs.ServiceUnavailableException
public javax.ws.rs.ServiceUnavailableException unwrap()
WebApplicationExceptionWrapper
unwrap
in interface WebApplicationExceptionWrapper<javax.ws.rs.ServiceUnavailableException>
Copyright © 2021 JBoss by Red Hat. All rights reserved.