Searched refs:setDispatcher (Results 1 – 13 of 13) sorted by relevance
48 mockWebServer.setDispatcher(dispatcher); in testSimpleDispatch()72 mockWebServer.setDispatcher(dispatcher); in testOutOfOrderResponses()
48 mockWebServer.setDispatcher(dispatcher); in simpleDispatch()72 mockWebServer.setDispatcher(dispatcher); in outOfOrderResponses()
52 client.setDispatcher(new Dispatcher(new ThreadPoolExecutor(benchmark.concurrencyLevel, in prepare()
170 server.setDispatcher(new Dispatcher() { in startServer()
548 client.setDispatcher(new Dispatcher(executor)); in interceptorThrowsRuntimeExceptionAsynchronous()570 client.setDispatcher(new Dispatcher(executor)); in applicationInterceptorReturnsNull()596 client.setDispatcher(new Dispatcher(executor)); in networkInterceptorReturnsNull()
20 OkHttpClient client = new OkHttpClient().setDispatcher(dispatcher);
1653 server.setDispatcher(new Dispatcher() { in cancelInFlightBeforeResponseReadThrowsIOE()1689 server.setDispatcher(new Dispatcher() { in canceledBeforeIOSignalsOnFailure()1728 server.setDispatcher(new Dispatcher() { in canceledBeforeResponseReadSignalsOnFailure()
36 server.setDispatcher(this); in run()
137 server.setDispatcher(dispatcher);
473 public OkHttpClient setDispatcher(Dispatcher dispatcher) { in setDispatcher() method in OkHttpClient
486 public OkHttpClient setDispatcher(Dispatcher dispatcher) { in setDispatcher() method in OkHttpClient
588 public void setDispatcher(Dispatcher dispatcher) { in setDispatcher() method in MockWebServer
812 public void setDispatcher(Dispatcher dispatcher) {