Package com.squareup.okhttp
Interface Interceptor
-
public interface InterceptorObserves, modifies, and potentially short-circuits requests going out and the corresponding requests coming back in. Typically interceptors will be used to add, remove, or transform headers on the request or response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceInterceptor.Chain
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Responseintercept(Interceptor.Chain chain)
-
-
-
Method Detail
-
intercept
Response intercept(Interceptor.Chain chain) throws IOException
- Throws:
IOException
-
-