mockwebserver / okhttp3.mockwebserver

Package okhttp3.mockwebserver


Name Summary
Dispatcher Handler for mock server requests.abstract class Dispatcher
MockResponse A scripted response to be replayed by the mock web server.class MockResponse :Cloneable
MockWebServer A scriptable web server. Callers supply canned responses and the server replays them upon request in sequence.class MockWebServer : ExternalResource,Closeable
PushPromise An HTTP request initiated by the server.class PushPromise
QueueDispatcher Default dispatcher that processes a script of responses. Populate the script by calling class QueueDispatcher :Dispatcher
RecordedRequest An HTTP request that came into the mock web server.class RecordedRequest
SocketPolicy What should be done with the incoming socket.enum class SocketPolicy