Searched refs:newCall (Results 1 – 25 of 36) sorted by relevance
12
44 client.newCall(newRequest("http://a/1")).enqueue(callback); in enqueuedJobsRunImmediately()50 client.newCall(newRequest("http://a/1")).enqueue(callback); in maxRequestsEnforced()51 client.newCall(newRequest("http://a/2")).enqueue(callback); in maxRequestsEnforced()52 client.newCall(newRequest("http://b/1")).enqueue(callback); in maxRequestsEnforced()53 client.newCall(newRequest("http://b/2")).enqueue(callback); in maxRequestsEnforced()59 client.newCall(newRequest("http://a/1")).enqueue(callback); in maxPerHostEnforced()60 client.newCall(newRequest("http://a/2")).enqueue(callback); in maxPerHostEnforced()61 client.newCall(newRequest("http://a/3")).enqueue(callback); in maxPerHostEnforced()67 client.newCall(newRequest("http://a/1")).enqueue(callback); in increasingMaxRequestsPromotesJobsImmediately()68 client.newCall(newRequest("http://b/1")).enqueue(callback); in increasingMaxRequestsPromotesJobsImmediately()[all …]
161 client.newCall(request).enqueue(callback); in invalidPort()327 Response response = client.newCall(request).execute(); in postBodyRetransmittedAfterAuthorizationFail()365 client.newCall(new Request.Builder().url(server.getUrl("/0")).build()).execute(); in doesNotAttemptAuthorization21Times()502 Call call = client.newCall(request); in illegalToExecuteTwice()532 Call call = client.newCall(request); in illegalToExecuteTwice_Async()561 client.newCall(request).enqueue(callback); in get_Async()578 client.newCall(request).enqueue(new Callback() { in exceptionThrownByOnResponseIsRedactedAndLogged()616 client.newCall(new Request.Builder().url(server.getUrl("/a")).build()).enqueue(callback); in connectionPooling_Async()619 client.newCall(new Request.Builder().url(server.getUrl("/b")).build()).enqueue(callback); in connectionPooling_Async()622 client.newCall(new Request.Builder().url(server.getUrl("/c")).build()).enqueue(callback); in connectionPooling_Async()[all …]
75 Response response = client.newCall(request).execute(); in applicationInterceptorsCanShortCircuitResponses()100 client.newCall(request).execute(); in networkInterceptorsCannotShortCircuitResponses()125 client.newCall(request).execute(); in networkInterceptorsCannotCallProceedMultipleTimes()153 client.newCall(request).execute(); in networkInterceptorsCannotChangeServerAddress()175 client.newCall(request).execute(); in networkInterceptorsHaveConnectionAccess()209 Response response = client.newCall(request).execute(); in networkInterceptorsObserveNetworkHeaders()241 client.newCall(request).execute(); in rewriteRequestToServer()277 Response response = client.newCall(request).execute(); in rewriteResponseFromServer()321 Response response = client.newCall(request).execute(); in multipleInterceptors()353 client.newCall(request).enqueue(callback); in asyncInterceptors()[all …]
181 Response response = client.newCall(request).execute(); in assertCached()223 Response response1 = client.newCall(request).execute(); in testResponseCaching()234 Response response2 = client.newCall(request).execute(); in testResponseCaching()260 Response response1 = client.newCall(request).execute(); in secureResponseCaching()271 Response response2 = client.newCall(request).execute(); // Cached! in secureResponseCaching()299 Response response1 = client.newCall(request).execute(); in responseCachingAndRedirects()302 Response response2 = client.newCall(request).execute(); // Cached! in responseCachingAndRedirects()321 Response response1 = client.newCall(request1).execute(); in redirectToCachedResult()328 Response response2 = client.newCall(request2).execute(); in redirectToCachedResult()336 Response response3 = client.newCall(request3).execute(); in redirectToCachedResult()[all …]
55 Response response1 = client.newCall(request1).execute(); in proxy()59 Response response2 = client.newCall(request2).execute(); in proxy()83 Response response = client.newCall(request).execute(); in proxySelector()
36 Response response = cloned.newCall(request).execute(); in run()46 Response response = cloned.newCall(request).execute(); in run()
41 Response response1 = client.newCall(request).execute(); in run()49 Response response2 = client.newCall(request).execute(); in run()
38 Response response = client.newCall(request).execute(); in run()
34 Response response = client.newCall(request).execute(); in run()
37 Response response = client.newCall(request).execute(); in run()
45 Response response = client.newCall(request).execute(); in run()
32 Response response = client.newCall(request).execute(); in run()
44 Response response = client.newCall(request).execute(); in run()
40 Response response = client.newCall(request).execute(); in run()
33 client.newCall(request).enqueue(new Callback() { in run()
33 Response response = client.newCall(request).execute(); in run()
53 Response response = client.newCall(request).execute(); in run()
49 Response response = client.newCall(request).execute(); in run()
55 Response response = client.newCall(request).execute(); in run()
51 Response response = client.newCall(request).execute(); in run()
37 final Call call = client.newCall(request); in run()
60 Response response = client.newCall(request).execute(); in run()
16 Response response = client.newCall(request).execute(); in run()
22 Response response = client.newCall(request).execute(); in post()
34 Response response = client.newCall(request).execute(); in main()