OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:okHttpClient
(Results
1 - 3
of
3
) sorted by null
/external/okhttp/android/main/java/com/squareup/okhttp/
HttpsHandler.java
38
protected
OkHttpClient
newOkHttpClient(Proxy proxy) {
39
OkHttpClient
okHttpClient
= createHttpsOkHttpClient(proxy);
40
okHttpClient
.setConnectionPool(configAwareConnectionPool.get());
41
return
okHttpClient
;
45
* Creates an
OkHttpClient
suitable for creating {@link HttpsURLConnection} instances on
48
public static
OkHttpClient
createHttpsOkHttpClient(Proxy proxy) {
49
// The HTTPS
OkHttpClient
is an HTTP
OkHttpClient
with extra configuration.
50
OkHttpClient
client = HttpHandler.createHttpOkHttpClient(proxy)
[
all
...]
HttpHandler.java
47
protected
OkHttpClient
newOkHttpClient(Proxy proxy) {
48
OkHttpClient
okHttpClient
= createHttpOkHttpClient(proxy);
49
okHttpClient
.setConnectionPool(configAwareConnectionPool.get());
50
return
okHttpClient
;
54
* Creates an
OkHttpClient
suitable for creating {@link java.net.HttpURLConnection} instances on
57
public static
OkHttpClient
createHttpOkHttpClient(Proxy proxy) {
58
OkHttpClient
client = new
OkHttpClient
();
/packages/services/Mms/src/com/android/mms/service/
MmsHttpClient.java
28
import com.android.okhttp.
OkHttpClient
;
228
OkHttpClient
okHttpClient
;
230
okHttpClient
= HttpHandler.createHttpOkHttpClient(proxy);
232
okHttpClient
= HttpsHandler.createHttpsOkHttpClient(proxy);
236
return
okHttpClient
.setSocketFactory(mSocketFactory)
Completed in 1510 milliseconds