@Test public void intercept_shouldReturnResponseFromChain() throws Exception { assertThat(requestInterceptor.intercept(new TestChain())).isInstanceOf(Response.class); }
@Override public Response intercept(Chain chain) throws IOException { if (requestHandler != null) { return modifyRequest(chain); } return chain.proceed(chain.request()); }
RequestInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException { if (requestHandler != null) { return modifyRequest(chain); } return chain.proceed(chain.request()); } }
RequestInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException { if (requestHandler != null) { return modifyRequest(chain); } return chain.proceed(chain.request()); }  }
RequestInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException { if (requestHandler != null) { return modifyRequest(chain); } return chain.proceed(chain.request()); }  @Override Response intercept(Chain chain); }
RequestInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException { if (requestHandler != null) { return modifyRequest(chain); } return chain.proceed(chain.request()); }  @Override Response intercept(Chain chain);  }