public final class CallServerInterceptor extends java.lang.Object implements Interceptor
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CallServerInterceptor.CountingSink |
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