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