Uses of Class
com.squareup.okhttp.Route
| Package | Description |
|---|---|
| com.squareup.okhttp |
-
Uses of Route in com.squareup.okhttp
Methods in com.squareup.okhttp that return Route Modifier and Type Method Description RouteConnection. getRoute()Returns the route used by this connection.Methods in com.squareup.okhttp with parameters of type Route Modifier and Type Method Description voidRouteDatabase. connected(Route route)Records success connecting tofailedRoute.voidRouteDatabase. failed(Route failedRoute, IOException failure)Records a failure connecting tofailedRoute.booleanRouteDatabase. shouldPostpone(Route route)Returns true ifroutehas failed recently and should be avoided.Constructors in com.squareup.okhttp with parameters of type Route Constructor Description Connection(Route route)