/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | OkHttpClientTest.java | 61 OkHttpClient client = new OkHttpClient(); in timeoutDefaults() 68 OkHttpClient client = new OkHttpClient(); in timeoutValidRange() 97 OkHttpClient client = new OkHttpClient().copyWithDefaults(); in copyWithDefaultsWhenDefaultIsAConstant() 124 OkHttpClient client = new OkHttpClient().copyWithDefaults(); in copyWithDefaultsWhenDefaultIsGlobal() 136 OkHttpClient client = new OkHttpClient().copyWithDefaults(); in copyWithDefaultsCacheIsNull() 152 OkHttpClient client = new OkHttpClient().copyWithDefaults(); in copyWithDefaultsDoesNotHonorGlobalResponseCache() 157 OkHttpClient original = new OkHttpClient(); in clonedInterceptorsListsAreIndependent() 158 OkHttpClient clone = original.clone(); in clonedInterceptorsListsAreIndependent() 170 OkHttpClient client = new OkHttpClient(); in cloneSharesStatefulInstances() 173 OkHttpClient a = client.clone().copyWithDefaults(); in cloneSharesStatefulInstances() [all …]
|
D | SocksProxyTest.java | 51 OkHttpClient client = new OkHttpClient() in proxy() 79 OkHttpClient client = new OkHttpClient() in proxySelector() 93 OkHttpClient client = new OkHttpClient() in checkRemoteDNSResolve()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | OkHttpClient.java | 53 public class OkHttpClient implements Cloneable { class 70 @Override public void setCache(OkHttpClient client, InternalCache internalCache) { 74 @Override public InternalCache internalCache(OkHttpClient client) { 148 public OkHttpClient() { in OkHttpClient() method in OkHttpClient 153 private OkHttpClient(OkHttpClient okHttpClient) { in OkHttpClient() method in OkHttpClient 244 public OkHttpClient setProxy(Proxy proxy) { in setProxy() 262 public OkHttpClient setProxySelector(ProxySelector proxySelector) { in setProxySelector() 278 public OkHttpClient setCookieHandler(CookieHandler cookieHandler) { in setCookieHandler() 297 public OkHttpClient setCache(Cache cache) { in setCache() 312 public OkHttpClient setDns(Dns dns) { in setDns() [all …]
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
D | PerCallSettings.java | 18 import com.squareup.okhttp.OkHttpClient; 25 private final OkHttpClient client = new OkHttpClient(); 33 OkHttpClient cloned = client.clone(); // Clone to make a customized OkHttp for this request. in run() 43 OkHttpClient cloned = client.clone(); // Clone to make a customized OkHttp for this request. in run()
|
D | ConfigureTimeouts.java | 18 import com.squareup.okhttp.OkHttpClient; 24 private final OkHttpClient client; 27 client = new OkHttpClient(); in ConfigureTimeouts()
|
D | AccessHeaders.java | 18 import com.squareup.okhttp.OkHttpClient; 24 private final OkHttpClient client = new OkHttpClient();
|
D | PostForm.java | 19 import com.squareup.okhttp.OkHttpClient; 26 private final OkHttpClient client = new OkHttpClient();
|
D | PostString.java | 19 import com.squareup.okhttp.OkHttpClient; 29 private final OkHttpClient client = new OkHttpClient();
|
D | SynchronousGet.java | 19 import com.squareup.okhttp.OkHttpClient; 25 private final OkHttpClient client = new OkHttpClient();
|
D | CertificatePinning.java | 19 import com.squareup.okhttp.OkHttpClient; 26 private final OkHttpClient client; 29 client = new OkHttpClient(); in CertificatePinning()
|
D | PostFile.java | 19 import com.squareup.okhttp.OkHttpClient; 30 private final OkHttpClient client = new OkHttpClient();
|
D | ParseResponseWithGson.java | 19 import com.squareup.okhttp.OkHttpClient; 26 private final OkHttpClient client = new OkHttpClient();
|
D | PostMultipart.java | 20 import com.squareup.okhttp.OkHttpClient; 36 private final OkHttpClient client = new OkHttpClient();
|
D | AsynchronousGet.java | 20 import com.squareup.okhttp.OkHttpClient; 26 private final OkHttpClient client = new OkHttpClient();
|
D | Authenticate.java | 20 import com.squareup.okhttp.OkHttpClient; 27 private final OkHttpClient client = new OkHttpClient();
|
D | LoggingInterceptors.java | 19 import com.squareup.okhttp.OkHttpClient; 27 private final OkHttpClient client = new OkHttpClient();
|
D | CheckHandshake.java | 20 import com.squareup.okhttp.OkHttpClient; 44 private final OkHttpClient client = new OkHttpClient();
|
D | CancelCall.java | 19 import com.squareup.okhttp.OkHttpClient; 29 private final OkHttpClient client = new OkHttpClient();
|
D | PostStreaming.java | 19 import com.squareup.okhttp.OkHttpClient; 30 private final OkHttpClient client = new OkHttpClient();
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Internal.java | 25 import com.squareup.okhttp.OkHttpClient; 39 public static final Logger logger = Logger.getLogger(OkHttpClient.class.getName()); 43 new OkHttpClient(); in initializeInstanceForTests() 52 public abstract void setCache(OkHttpClient client, InternalCache internalCache); in setCache() 54 public abstract InternalCache internalCache(OkHttpClient client); in internalCache()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
D | CertificatePinnerChainValidationTest.java | 20 import com.squareup.okhttp.OkHttpClient; 66 OkHttpClient client = new OkHttpClient() in pinRootNotPresentInChain() 121 OkHttpClient client = new OkHttpClient() in pinIntermediatePresentInChain() 180 OkHttpClient client = new OkHttpClient() in unrelatedPinnedLeafCertificateInChain() 253 OkHttpClient client = new OkHttpClient() in unrelatedPinnedIntermediateCertificateInChain()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/ |
D | OkUrlFactory.java | 30 private final OkHttpClient client; 33 public OkUrlFactory(OkHttpClient client) { in OkUrlFactory() 37 public OkHttpClient client() { in client() 59 OkHttpClient copy = client.copyWithDefaults(); in open()
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/ |
D | GetExample.java | 3 import com.squareup.okhttp.OkHttpClient; 9 OkHttpClient client = new OkHttpClient();
|
D | PostExample.java | 4 import com.squareup.okhttp.OkHttpClient; 14 OkHttpClient client = new OkHttpClient();
|
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
D | Crawler.java | 20 import com.squareup.okhttp.OkHttpClient; 42 private final OkHttpClient client; 48 public Crawler(OkHttpClient client) { in Crawler() 123 OkHttpClient client = new OkHttpClient(); in main()
|