| Package | Description |
|---|---|
| okhttp3 | |
| okhttp3.internal | |
| okhttp3.internal.http | |
| okhttp3.internal.io |
| Modifier and Type | Method and Description |
|---|---|
Route |
Connection.route()
Returns the route used by this connection.
|
| Modifier and Type | Method and Description |
|---|---|
Request |
Authenticator.authenticate(Route
Returns a request that includes a credential to satisfy an authentication challenge in
response.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RouteDatabase.connected(Route
Records success connecting to
failedRoute.
|
void |
RouteDatabase.failed(Route
Records a failure connecting to
failedRoute.
|
boolean |
RouteDatabase.shouldPostpone(Route
Returns true if
route has failed recently and should be avoided.
|
| Modifier and Type | Method and Description |
|---|---|
Route |
RouteSelector.next()
|
| Modifier and Type | Method and Description |
|---|---|
void |
RouteSelector.connectFailed(Route
Clients should invoke this method when they encounter a connectivity failure on a connection returned by this route selector.
|
| Modifier and Type | Method and Description |
|---|---|
Route |
RealConnection.route()
|
| Constructor and Description | |
|---|---|
RealConnection(Route
|