public final class CallServerInterceptor extends java.lang.Object implements Interceptor
Interceptor.Chain
Modifier and Type | Field and Description |
---|---|
private boolean |
forWebSocket |
Constructor and Description |
---|
CallServerInterceptor(boolean forWebSocket) |
Modifier and Type | Method and Description |
---|---|
Response |
intercept(Interceptor.Chain chain) |
public Response intercept(Interceptor.Chain chain) throws java.io.IOException
intercept
in interface Interceptor
java.io.IOException