Searched refs:proxySelector (Results 1 – 9 of 9) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | RouteSelectorTest.java | 73 private final RecordingProxySelector proxySelector = new RecordingProxySelector(); field in RouteSelectorTest 118 authenticator, proxyA, protocols, connectionSpecs, proxySelector); in explicitProxyTriesThatProxysAddressesOnly() 128 proxySelector.assertRequests(); // No proxy selector requests! in explicitProxyTriesThatProxysAddressesOnly() 133 authenticator, NO_PROXY, protocols, connectionSpecs, proxySelector); in explicitDirectProxy() 143 proxySelector.assertRequests(); // No proxy selector requests! in explicitDirectProxy() 149 proxySelector.proxies = null; in proxySelectorReturnsNull() 151 proxySelector.assertRequests(address.url().uri()); in proxySelectorReturnsNull() 172 proxySelector.assertRequests(address.url().uri()); in proxySelectorReturnsNoProxies() 178 proxySelector.proxies.add(proxyA); in proxySelectorReturnsMultipleProxies() 179 proxySelector.proxies.add(proxyB); in proxySelectorReturnsMultipleProxies() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Address.java | 45 final ProxySelector proxySelector; field in Address 54 List<Protocol> protocols, List<ConnectionSpec> connectionSpecs, ProxySelector proxySelector) { in Address() argument 76 if (proxySelector == null) throw new IllegalArgumentException("proxySelector == null"); in Address() 77 this.proxySelector = proxySelector; in Address() 146 return proxySelector; in getProxySelector() 180 && this.proxySelector.equals(that.proxySelector) in equals() 196 result = 31 * result + proxySelector.hashCode(); in hashCode()
|
D | OkHttpClient.java | 127 private ProxySelector proxySelector; field in OkHttpClient 161 this.proxySelector = okHttpClient.proxySelector; in OkHttpClient() 262 public OkHttpClient setProxySelector(ProxySelector proxySelector) { in setProxySelector() argument 263 this.proxySelector = proxySelector; in setProxySelector() 268 return proxySelector; in getProxySelector() 581 if (result.proxySelector == null) { in copyWithDefaults() 582 result.proxySelector = ProxySelector.getDefault(); in copyWithDefaults()
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | ProxySelectorRoutePlanner.java | 78 protected ProxySelector proxySelector; field in ProxySelectorRoutePlanner 96 proxySelector = prosel; in ProxySelectorRoutePlanner() 106 return this.proxySelector; in getProxySelector() 117 this.proxySelector = prosel; in setProxySelector() 195 ProxySelector psel = this.proxySelector; in determineProxy()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | AddressTest.java | 34 private RecordingProxySelector proxySelector = new RecordingProxySelector(); field in AddressTest 38 authenticator, null, protocols, connectionSpecs, proxySelector); in equalsAndHashcode() 40 authenticator, null, protocols, connectionSpecs, proxySelector); in equalsAndHashcode()
|
D | SocksProxyTest.java | 66 @Test public void proxySelector() throws Exception { in proxySelector() method in SocksProxyTest 69 ProxySelector proxySelector = new ProxySelector() { in proxySelector() local 80 .setProxySelector(proxySelector); in proxySelector()
|
D | OkHttpClientTest.java | 113 ProxySelector proxySelector = new RecordingProxySelector(); in copyWithDefaultsWhenDefaultIsGlobal() local 121 ProxySelector.setDefault(proxySelector); in copyWithDefaultsWhenDefaultIsGlobal() 126 assertSame(proxySelector, client.getProxySelector()); in copyWithDefaultsWhenDefaultIsGlobal()
|
D | URLConnectionTest.java | 306 FakeProxySelector proxySelector = new FakeProxySelector(); in testRequestBodySurvivesRetries() local 307 proxySelector.proxies.add(server2.toProxyAddress()); in testRequestBodySurvivesRetries() 308 client.client().setProxySelector(proxySelector); in testRequestBodySurvivesRetries()
|
/external/apache-http/api/ |
D | apache-http-legacy-current.txt | 2912 field protected java.net.ProxySelector proxySelector;
|