HomeSort by relevance Sort by last modified time
    Searched full:routeselector (Results 1 - 4 of 4) sorted by null

  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
RouteSelectorTest.java 86 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns,
89 assertTrue(routeSelector.hasNext());
91 assertConnection(routeSelector.next("GET"), address, NO_PROXY, dns.inetAddresses[0], uriPort,
95 assertFalse(routeSelector.hasNext());
97 routeSelector.next("GET");
105 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpURLConnectionImpl.java 366 RouteSelector routeSelector = httpEngine.routeSelector;
367 if (routeSelector != null && httpEngine.connection != null) {
368 routeSelector.connectFailed(httpEngine.connection, e);
374 if (routeSelector == null && httpEngine.connection == null // No connection.
375 || routeSelector != null && !routeSelector.hasNext() // No more routes to attempt.
385 httpEngine.routeSelector = routeSelector; // Keep the same routeSelector
    [all...]
RouteSelector.java 44 public final class RouteSelector {
79 public RouteSelector(Address address, URI uri, ProxySelector proxySelector, ConnectionPool pool,
HttpEngine.java 99 protected RouteSelector routeSelector;
276 if (routeSelector == null) {
289 routeSelector = new RouteSelector(address, uri, client.getProxySelector(),
292 connection = routeSelector.next(method);

Completed in 193 milliseconds