public interface PropagateIfRetryAfter extends Fallback<Object>
RetryAfterException if a Throwable contains information such as a retry
offset.| Modifier and Type | Method and Description |
|---|---|
Object |
createOrPropagate(Throwable t)
if input is not of type
HttpResponseException, this method propagates. |
Object createOrPropagate(Throwable t) throws Exception
HttpResponseException, this method propagates. Otherwise,
null, if didn't coerce to RetryAfterExceptioncreateOrPropagate in interface Fallback<Object>t - the exception that made the call fail.ExceptionCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.