Searched refs:proxySelector (Results 1 – 7 of 7) sorted by relevance
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
D | RouteSelectorTest.java | 76 private final FakeProxySelector proxySelector = new FakeProxySelector(); field in RouteSelectorTest 80 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns); in singleRoute() 97 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns); in explicitProxyTriesThatProxiesAddressesOnly() 108 proxySelector.assertRequests(); // No proxy selector requests! in explicitProxyTriesThatProxiesAddressesOnly() 113 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns); in explicitDirectProxy() 122 proxySelector.assertRequests(); // No proxy selector requests! in explicitDirectProxy() 128 proxySelector.proxies = null; in proxySelectorReturnsNull() 129 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns); in proxySelectorReturnsNull() 130 proxySelector.assertRequests(uri); in proxySelectorReturnsNull() 142 RouteSelector routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns); in proxySelectorReturnsNoProxies() [all …]
|
D | URLConnectionTest.java | 308 FakeProxySelector proxySelector = new FakeProxySelector(); in testRequestBodySurvivesRetries() local 309 proxySelector.proxies.add(server2.toProxyAddress()); in testRequestBodySurvivesRetries() 310 client.setProxySelector(proxySelector); in testRequestBodySurvivesRetries()
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
D | OkHttpClient.java | 33 private ProxySelector proxySelector; field in OkHttpClient 65 public OkHttpClient setProxySelector(ProxySelector proxySelector) { in setProxySelector() argument 66 this.proxySelector = proxySelector; in setProxySelector() 71 return proxySelector; in getProxySelector() 185 result.proxySelector = proxySelector != null ? proxySelector : ProxySelector.getDefault(); in copyWithDefaults()
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | RouteSelector.java | 51 private final ProxySelector proxySelector; field in RouteSelector 73 public RouteSelector(Address address, URI uri, ProxySelector proxySelector, ConnectionPool pool, in RouteSelector() argument 77 this.proxySelector = proxySelector; in RouteSelector() 126 if (connection.getProxy().type() != Proxy.Type.DIRECT && proxySelector != null) { in connectFailed() 128 proxySelector.connectFailed(uri, connection.getProxy().address(), failure); in connectFailed() 138 List<Proxy> proxyList = proxySelector.select(uri); in resetNextProxy()
|
D | HttpURLConnectionImpl.java | 74 final ProxySelector proxySelector; field in HttpURLConnectionImpl 93 this.proxySelector = client.getProxySelector(); in HttpURLConnectionImpl()
|
D | HttpEngine.java | 283 new RouteSelector(address, uri, policy.proxySelector, policy.connectionPool, Dns.DEFAULT); in connect()
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | ProxySelectorRoutePlanner.java | 73 protected ProxySelector proxySelector; field in ProxySelectorRoutePlanner 91 proxySelector = prosel; in ProxySelectorRoutePlanner() 101 return this.proxySelector; in getProxySelector() 112 this.proxySelector = prosel; in setProxySelector() 190 ProxySelector psel = this.proxySelector; in determineProxy()
|