HomeSort by relevance Sort by last modified time
    Searched refs:OkHttpClient (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
OkHttpClientTest.java 61 OkHttpClient client = new OkHttpClient();
68 OkHttpClient client = new OkHttpClient();
97 OkHttpClient client = new OkHttpClient().copyWithDefaults();
124 OkHttpClient client = new OkHttpClient().copyWithDefaults();
136 OkHttpClient client = new OkHttpClient().copyWithDefaults()
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
Internal.java 25 import com.squareup.okhttp.OkHttpClient;
42 * interface is in {@link com.squareup.okhttp.OkHttpClient}.
45 public static final Logger logger = Logger.getLogger(OkHttpClient.class.getName());
49 new OkHttpClient();
73 public abstract void setCache(OkHttpClient client, InternalCache internalCache);
75 public abstract InternalCache internalCache(OkHttpClient client);
79 public abstract RouteDatabase routeDatabase(OkHttpClient client);
81 public abstract Network network(OkHttpClient client);
83 public abstract void setNetwork(OkHttpClient client, Network network);
85 public abstract void connectAndSetOwner(OkHttpClient client, Connection connection
    [all...]
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
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.
43 OkHttpClient cloned = client.clone(); // Clone to make a customized OkHttp for this request.
AccessHeaders.java 18 import com.squareup.okhttp.OkHttpClient;
24 private final OkHttpClient client = new OkHttpClient();
CertificatePinning.java 19 import com.squareup.okhttp.OkHttpClient;
26 private final OkHttpClient client;
29 client = new OkHttpClient();
ConfigureTimeouts.java 18 import com.squareup.okhttp.OkHttpClient;
24 private final OkHttpClient client;
27 client = new OkHttpClient();
PostFile.java 19 import com.squareup.okhttp.OkHttpClient;
30 private final OkHttpClient client = new OkHttpClient();
PostForm.java 19 import com.squareup.okhttp.OkHttpClient;
26 private final OkHttpClient client = new OkHttpClient();
PostString.java 19 import com.squareup.okhttp.OkHttpClient;
29 private final OkHttpClient client = new OkHttpClient();
SynchronousGet.java 19 import com.squareup.okhttp.OkHttpClient;
25 private final OkHttpClient client = new OkHttpClient();
AsynchronousGet.java 20 import com.squareup.okhttp.OkHttpClient;
26 private final OkHttpClient client = new OkHttpClient();
Authenticate.java 20 import com.squareup.okhttp.OkHttpClient;
27 private final OkHttpClient client = new OkHttpClient();
CacheResponse.java 19 import com.squareup.okhttp.OkHttpClient;
26 private final OkHttpClient client;
32 client = new OkHttpClient();
CancelCall.java 19 import com.squareup.okhttp.OkHttpClient;
29 private final OkHttpClient client = new OkHttpClient();
CheckHandshake.java 20 import com.squareup.okhttp.OkHttpClient;
44 private final OkHttpClient client = new OkHttpClient();
LoggingInterceptors.java 19 import com.squareup.okhttp.OkHttpClient;
27 private final OkHttpClient client = new OkHttpClient();
ParseResponseWithGson.java 19 import com.squareup.okhttp.OkHttpClient;
26 private final OkHttpClient client = new OkHttpClient();
PostMultipart.java 20 import com.squareup.okhttp.OkHttpClient;
36 private final OkHttpClient client = new OkHttpClient();
PostStreaming.java 19 import com.squareup.okhttp.OkHttpClient;
30 private final OkHttpClient client = new OkHttpClient();
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/
GetExample.java 3 import com.squareup.okhttp.OkHttpClient;
9 OkHttpClient client = new OkHttpClient();
PostExample.java 4 import com.squareup.okhttp.OkHttpClient;
14 OkHttpClient client = new OkHttpClient();
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
OkHttpClient.java 49 * OkHttpClient for all of their HTTP requests - benefiting from a shared
52 * <p>Instances of OkHttpClient are intended to be fully configured before they're
55 * {@link #clone()} to make a shallow copy of the OkHttpClient that can be
58 public class OkHttpClient implements Cloneable {
104 @Override public void setCache(OkHttpClient client, InternalCache internalCache) {
108 @Override public InternalCache internalCache(OkHttpClient client) {
116 @Override public RouteDatabase routeDatabase(OkHttpClient client) {
120 @Override public Network network(OkHttpClient client) {
124 @Override public void setNetwork(OkHttpClient client, Network network) {
128 @Override public void connectAndSetOwner(OkHttpClient client, Connection connection
    [all...]
  /external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/
AndroidInternal.java 34 OkHttpClient client = okUrlFactory.client();
  /external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/
OkUrlFactory.java 30 private final OkHttpClient client;
33 public OkUrlFactory(OkHttpClient client) {
37 public OkHttpClient client() {
47 * of the internal {@linkplain OkHttpClient HTTP client}.
59 OkHttpClient copy = client.copyWithDefaults();
73 * OkHttpClient okHttpClient = new OkHttpClient();
74 * URL.setURLStreamHandlerFactory(new OkUrlFactory(okHttpClient));
  /external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
HttpsURLConnectionImpl.java 20 import com.squareup.okhttp.OkHttpClient;
29 public HttpsURLConnectionImpl(URL url, OkHttpClient client) {
33 public HttpsURLConnectionImpl(URL url, OkHttpClient client, URLFilter filter) {

Completed in 276 milliseconds

1 2 3