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 …]
324 Response response = client.newCall(request).execute(); in postBodyRetransmittedAfterAuthorizationFail()362 client.newCall(new Request.Builder().url(server.url("/0")).build()).execute(); in doesNotAttemptAuthorization21Times()499 Call call = client.newCall(request); in illegalToExecuteTwice()529 Call call = client.newCall(request); in illegalToExecuteTwice_Async()558 client.newCall(request).enqueue(callback); in get_Async()575 client.newCall(request).enqueue(new Callback() { in exceptionThrownByOnResponseIsRedactedAndLogged()613 client.newCall(new Request.Builder().url(server.url("/a")).build()).enqueue(callback); in connectionPooling_Async()616 client.newCall(new Request.Builder().url(server.url("/b")).build()).enqueue(callback); in connectionPooling_Async()619 client.newCall(new Request.Builder().url(server.url("/c")).build()).enqueue(callback); in connectionPooling_Async()632 client.newCall(request).enqueue(new Callback() { in connectionReuseWhenResponseBodyConsumed_Async()[all …]
74 Response response = client.newCall(request).execute(); in applicationInterceptorsCanShortCircuitResponses()99 client.newCall(request).execute(); in networkInterceptorsCannotShortCircuitResponses()124 client.newCall(request).execute(); in networkInterceptorsCannotCallProceedMultipleTimes()152 client.newCall(request).execute(); in networkInterceptorsCannotChangeServerAddress()174 client.newCall(request).execute(); in networkInterceptorsHaveConnectionAccess()208 Response response = client.newCall(request).execute(); in networkInterceptorsObserveNetworkHeaders()240 client.newCall(request).execute(); in rewriteRequestToServer()276 Response response = client.newCall(request).execute(); in rewriteResponseFromServer()320 Response response = client.newCall(request).execute(); in multipleInterceptors()352 client.newCall(request).enqueue(callback); in asyncInterceptors()[all …]
178 Response response = client.newCall(request).execute(); in assertCached()220 Response response1 = client.newCall(request).execute(); in testResponseCaching()231 Response response2 = client.newCall(request).execute(); in testResponseCaching()257 Response response1 = client.newCall(request).execute(); in secureResponseCaching()268 Response response2 = client.newCall(request).execute(); // Cached! in secureResponseCaching()296 Response response1 = client.newCall(request).execute(); in responseCachingAndRedirects()299 Response response2 = client.newCall(request).execute(); // Cached! in responseCachingAndRedirects()318 Response response1 = client.newCall(request1).execute(); in redirectToCachedResult()325 Response response2 = client.newCall(request2).execute(); in redirectToCachedResult()333 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()
53 Response response = client.newCall(request).execute(); in run()
33 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()