public final class RetryAndFollowUpInterceptor extends Object implements Interceptor
IOException if the call was canceled.Interceptor.Chain| Constructor and Description |
|---|
RetryAndFollowUpInterceptor(HttpClient client,
boolean forWebSocket) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
Response |
intercept(Interceptor.Chain chain) |
boolean |
isCanceled() |
void |
setCallStackTrace(Object callStackTrace) |
StreamAllocation |
streamAllocation() |
public RetryAndFollowUpInterceptor(HttpClient client, boolean forWebSocket)
public void cancel()
public boolean isCanceled()
public void setCallStackTrace(Object callStackTrace)
public StreamAllocation streamAllocation()
public Response intercept(Interceptor.Chain chain) throws IOException
intercept in interface InterceptorIOExceptionCopyright © 2019. All rights reserved.