title: How to intercept a request in OkHttp?
body: <p>I'm trying to intercept a request in OkHttp and change the response on live.</p>
  
  <pre><code>OkHttpClient.Builder builder = new OkHttpClient.Builder();
  builder.connectTimeout(45, TimeUnit.SECONDS)
         .writeTimeout(45, TimeUnit.SECONDS)
         .readTimeout(45, TimeUnit.SECONDS);
  builder.sslSocketFactory(sslSocketFactory, (X509TrustManager) trustAllCerts[0]);
  builder.hostnameVerifier((hostname, session) -&gt; true);
  builder.addNetworkInterceptor(new StethoInterceptor());
  
  return builder.build();
  </code></pre>
  
  <p>I have a request that ends with "/assets/v3". Is there any option to intercept this request and return a Json file stored in Raw Folder instead of the original response?</p>
  
  <p>Thank you.</p>