Searched refs:networkInterceptors (Results 1 – 12 of 12) sorted by relevance
92 client.networkInterceptors().add(interceptor); in networkInterceptorsCannotShortCircuitResponses()117 client.networkInterceptors().add(interceptor); in networkInterceptorsCannotCallProceedMultipleTimes()145 client.networkInterceptors().add(interceptor); in networkInterceptorsCannotChangeServerAddress()163 client.networkInterceptors().add(new Interceptor() { in networkInterceptorsHaveConnectionAccess()182 client.networkInterceptors().add(new Interceptor() { in networkInterceptorsObserveNetworkHeaders()216 client.networkInterceptors().add(new Interceptor() { in networkInterceptorsCanChangeRequestMethodFromGetToPost()247 rewriteRequestToServer(client.networkInterceptors()); in networkInterceptorsRewriteRequestToServer()283 rewriteResponseFromServer(client.networkInterceptors()); in networkInterceptorsRewriteResponseFromServer()316 multipleInterceptors(client.networkInterceptors()); in multipleNetworkInterceptors()363 asyncInterceptors(client.networkInterceptors()); in asyncNetworkInterceptors()[all …]
160 clone.networkInterceptors().add(null); in clonedInterceptorsListsAreIndependent()162 assertEquals(0, original.networkInterceptors().size()); in clonedInterceptorsListsAreIndependent()
1985 client.networkInterceptors().add(new Interceptor() { in networkInterceptorInvokedForConditionalGet()2007 client.networkInterceptors().add(new Interceptor() { in networkInterceptorNotInvokedForFullyCached()
3211 client.client().networkInterceptors().add(interceptor);
59 client.networkInterceptors().add(REWRITE_CACHE_CONTROL_INTERCEPTOR); in run()62 client.networkInterceptors().clear(); in run()
30 client.networkInterceptors().add(new Interceptor() { in LoggingInterceptors()
47 client.networkInterceptors().add(CHECK_HANDSHAKE_INTERCEPTOR); in CheckHandshake()
49 client.networkInterceptors().add(new Interceptor() { in run()
126 private final List<Interceptor> networkInterceptors = new ArrayList<>(); field in OkHttpClient160 this.networkInterceptors.addAll(okHttpClient.networkInterceptors); in OkHttpClient()555 public List<Interceptor> networkInterceptors() { in networkInterceptors() method in OkHttpClient556 return networkInterceptors; in networkInterceptors()
674 Interceptor caller = client.networkInterceptors().get(index - 1); in proceed()691 if (index < client.networkInterceptors().size()) { in proceed()694 Interceptor interceptor = client.networkInterceptors().get(index); in proceed()
66 client.networkInterceptors().add(networkInterceptor); in setUp()
86 client.networkInterceptors().add(loggingInterceptor);