public class MockDispatcher
extends okhttp3.mockwebserver.Dispatcher
| Constructor and Description |
|---|
MockDispatcher(Map<ServerRequest,Queue<ServerResponse>> responses) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.mockwebserver.MockResponse |
dispatch(okhttp3.mockwebserver.RecordedRequest request) |
public MockDispatcher(Map<ServerRequest,Queue<ServerResponse>> responses)
public okhttp3.mockwebserver.MockResponse dispatch(okhttp3.mockwebserver.RecordedRequest request)
throws InterruptedException
dispatch in class okhttp3.mockwebserver.DispatcherInterruptedExceptionCopyright © 2015–2020 Red Hat. All rights reserved.