| Package | Description |
|---|---|
| com.squareup.okhttp | |
| com.squareup.okhttp.internal | |
| com.squareup.okhttp.internal.http |
| Modifier and Type | Method and Description |
|---|---|
Route |
Connection.getRoute()
Returns the route used by this connection.
|
| Constructor and Description |
|---|
Connection(ConnectionPool pool,
Route route) |
| Modifier and Type | Method and Description |
|---|---|
void |
RouteDatabase.connected(Route route)
Records success connecting to
failedRoute. |
void |
RouteDatabase.failed(Route failedRoute)
Records a failure connecting to
failedRoute. |
boolean |
RouteDatabase.shouldPostpone(Route route)
Returns true if
route has failed recently and should be avoided. |
| Modifier and Type | Method and Description |
|---|---|
Route |
HttpEngine.getRoute()
Returns the route used to retrieve the response.
|
Copyright © 2015. All rights reserved.