| Package | Description |
|---|---|
| okhttp3.mockwebserver | |
| okhttp3.sample | |
| okhttp3.slack |
| Modifier and Type | Method and Description |
|---|---|
RecordedRequest |
MockWebServer.takeRequest()
Awaits the next HTTP request, removes it, and returns it.
|
RecordedRequest |
MockWebServer.takeRequest(long timeout,
TimeUnit unit)
Awaits the next HTTP request (waiting up to the specified wait time if necessary), removes it,
and returns it.
|
| Modifier and Type | Method and Description |
|---|---|
MockResponse |
QueueDispatcher.dispatch(RecordedRequest request) |
abstract MockResponse |
Dispatcher.dispatch(RecordedRequest request)
Returns a response to satisfy
request. |
| Modifier and Type | Method and Description |
|---|---|
MockResponse |
SampleServer.dispatch(RecordedRequest request) |
| Modifier and Type | Method and Description |
|---|---|
MockResponse |
OAuthSessionFactory.dispatch(RecordedRequest request)
When the browser hits the redirect URL, use the provided code to ask Slack for a session.
|
Copyright © 2017. All Rights Reserved.