public final class BridgeInterceptor extends java.lang.Object implements Interceptor
Interceptor.Chain
Constructor and Description |
---|
BridgeInterceptor(CookieJar cookieJar) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
cookieHeader(java.util.List<Cookie> cookies)
Returns a 'Cookie' HTTP request header with all cookies, like
a=b; c=d . |
Response |
intercept(Interceptor.Chain chain) |
private final CookieJar cookieJar
public BridgeInterceptor(CookieJar cookieJar)
public Response intercept(Interceptor.Chain chain) throws java.io.IOException
intercept
in interface Interceptor
java.io.IOException
private java.lang.String cookieHeader(java.util.List<Cookie> cookies)
a=b; c=d
.