Home
last modified time | relevance | path

Searched refs:OkHttpClient (Results 1 – 25 of 31) sorted by relevance

12

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java55 public final class OkHttpClient implements URLStreamHandlerFactory, Cloneable { class
74 public OkHttpClient() { in OkHttpClient() method in OkHttpClient
133 public OkHttpClient setProxy(Proxy proxy) { in setProxy()
151 public OkHttpClient setProxySelector(ProxySelector proxySelector) { in setProxySelector()
167 public OkHttpClient setCookieHandler(CookieHandler cookieHandler) { in setCookieHandler()
179 public OkHttpClient setResponseCache(ResponseCache responseCache) { in setResponseCache()
189 public OkHttpClient setOkResponseCache(OkResponseCache responseCache) { in setOkResponseCache()
204 public OkHttpClient setSocketFactory(SocketFactory socketFactory) { in setSocketFactory()
218 public OkHttpClient setSslSocketFactory(SSLSocketFactory sslSocketFactory) { in setSslSocketFactory()
235 public OkHttpClient setHostnameVerifier(HostnameVerifier hostnameVerifier) { in setHostnameVerifier()
[all …]
DJob.java43 private final OkHttpClient client;
53 public Job(Dispatcher dispatcher, OkHttpClient client, Request request, in Job()
DDispatcher.java102 synchronized void enqueue(OkHttpClient client, Request request, Response.Receiver receiver) { in enqueue()
/external/okhttp/android/main/java/com/squareup/okhttp/
DHttpHandler.java47 protected OkHttpClient newOkHttpClient(Proxy proxy) { in newOkHttpClient()
48 OkHttpClient okHttpClient = createHttpOkHttpClient(proxy); in newOkHttpClient()
57 public static OkHttpClient createHttpOkHttpClient(Proxy proxy) { in createHttpOkHttpClient()
58 OkHttpClient client = new OkHttpClient(); in createHttpOkHttpClient()
DHttpsHandler.java38 protected OkHttpClient newOkHttpClient(Proxy proxy) { in newOkHttpClient()
39 OkHttpClient okHttpClient = createHttpsOkHttpClient(proxy); in newOkHttpClient()
48 public static OkHttpClient createHttpsOkHttpClient(Proxy proxy) { in createHttpsOkHttpClient()
50 OkHttpClient client = HttpHandler.createHttpOkHttpClient(proxy); in createHttpsOkHttpClient()
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/
DCrawler.java20 import com.squareup.okhttp.OkHttpClient;
45 private final OkHttpClient client;
49 public Crawler(OkHttpClient client) { in Crawler()
133 OkHttpClient client = new OkHttpClient(); in main()
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/
DGetExample.java3 import com.squareup.okhttp.OkHttpClient;
11 OkHttpClient client = new OkHttpClient();
DPostExample.java3 import com.squareup.okhttp.OkHttpClient;
13 OkHttpClient client = new OkHttpClient();
/external/okhttp/samples/simple-client/src/main/java/com/squareup/okhttp/sample/
DOkHttpContributors.java5 import com.squareup.okhttp.OkHttpClient;
27 OkHttpClient client = new OkHttpClient(); in main()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DOkHttp.java18 import com.squareup.okhttp.OkHttpClient;
32 private OkHttpClient client;
36 client = new OkHttpClient(); in prepare()
DOkHttpAsync.java20 import com.squareup.okhttp.OkHttpClient;
40 private OkHttpClient client;
49 client = new OkHttpClient(); in prepare()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DThreadInterruptTest.java18 import com.squareup.okhttp.OkHttpClient;
33 private final OkHttpClient client = new OkHttpClient();
DURLEncodingTest.java19 import com.squareup.okhttp.OkHttpClient;
126 OkHttpClient client = new OkHttpClient(); in backdoorUrlToUri()
DExternalSpdyExample.java19 import com.squareup.okhttp.OkHttpClient;
34 HttpsURLConnection connection = (HttpsURLConnection) new OkHttpClient() in main()
DExternalHttp2Example.java19 import com.squareup.okhttp.OkHttpClient;
34 HttpsURLConnection connection = (HttpsURLConnection) new OkHttpClient() in main()
DResponseCacheAdapterTest.java18 import com.squareup.okhttp.OkHttpClient;
73 private OkHttpClient client;
79 client = new OkHttpClient(); in setUp()
DCookiesTest.java19 import com.squareup.okhttp.OkHttpClient;
50 private OkHttpClient client;
54 client = new OkHttpClient(); in setUp()
DJavaApiConverterTest.java22 import com.squareup.okhttp.OkHttpClient;
113 private OkHttpClient client;
119 client = new OkHttpClient(); in setUp()
711 protected final OkHttpClient client;
713 private OkHttpURLConnectionFactory(OkHttpClient client) { in OkHttpURLConnectionFactory()
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
DMain.java24 import com.squareup.okhttp.OkHttpClient;
118 private OkHttpClient client;
160 private OkHttpClient createClient() {
161 OkHttpClient client = new OkHttpClient();
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpsURLConnectionImpl.java20 import com.squareup.okhttp.OkHttpClient;
28 public HttpsURLConnectionImpl(URL url, OkHttpClient client) { in HttpsURLConnectionImpl()
DHttpURLConnectionImpl.java23 import com.squareup.okhttp.OkHttpClient;
75 final OkHttpClient client;
97 public HttpURLConnectionImpl(URL url, OkHttpClient client) { in HttpURLConnectionImpl()
301 OkHttpClient engineClient = client; in newHttpEngine()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DOkApacheClient.java4 import com.squareup.okhttp.OkHttpClient;
41 protected final OkHttpClient client;
79 this(new OkHttpClient()); in OkApacheClient()
82 public OkApacheClient(OkHttpClient client) { in OkApacheClient()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDispatcherTest.java19 OkHttpClient client = new OkHttpClient().setDispatcher(dispatcher);
DSyncApiTest.java40 private OkHttpClient client = new OkHttpClient();
/external/okhttp/
DCHANGELOG.md45 OkHttpClient instances with the following:
52 need to customize SSL, do so for your specific OkHttpClient instance only.
112 * New APIs on OkHttpClient to set default timeouts for connect and read.

12