Home
last modified time | relevance | path

Searched refs:okhttp (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/
DHpack.java20 package io.grpc.okhttp.internal.framed;
51 …private static final io.grpc.okhttp.internal.framed.Header[] STATIC_HEADER_TABLE = new io.grpc.okh…
52 …new io.grpc.okhttp.internal.framed.Header(io.grpc.okhttp.internal.framed.Header.TARGET_AUTHORITY, …
53 …new io.grpc.okhttp.internal.framed.Header(io.grpc.okhttp.internal.framed.Header.TARGET_METHOD, "GE…
54 …new io.grpc.okhttp.internal.framed.Header(io.grpc.okhttp.internal.framed.Header.TARGET_METHOD, "PO…
55 … new io.grpc.okhttp.internal.framed.Header(io.grpc.okhttp.internal.framed.Header.TARGET_PATH, "/"),
56 …new io.grpc.okhttp.internal.framed.Header(io.grpc.okhttp.internal.framed.Header.TARGET_PATH, "/ind…
57 …new io.grpc.okhttp.internal.framed.Header(io.grpc.okhttp.internal.framed.Header.TARGET_SCHEME, "ht…
58 …new io.grpc.okhttp.internal.framed.Header(io.grpc.okhttp.internal.framed.Header.TARGET_SCHEME, "ht…
59 …new io.grpc.okhttp.internal.framed.Header(io.grpc.okhttp.internal.framed.Header.RESPONSE_STATUS, "…
[all …]
/external/okhttp/
DAndroid.bp41 srcs: ["repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/**/*.java"],
46 "//cts/tests/libcore/okhttp",
49 // non-jarjar'd version of okhttp to compile the tests against
51 name: "okhttp-nojarjar",
55 "okhttp/src/main/java/**/*.java",
56 "okhttp-urlconnection/src/main/java/**/*.java",
57 "okhttp-android-support/src/main/java/**/*.java",
60 exclude_srcs: ["okhttp/src/main/java/com/squareup/okhttp/internal/Platform.java"],
72 // The source implementation files, used to build okhttp and core-all. It is
73 // used in the latter case to break the cycle where okhttp depends on core-all
[all …]
DREADME.md12 <groupId>com.squareup.okhttp</groupId>
13 <artifactId>okhttp</artifactId>
19 compile 'com.squareup.okhttp:okhttp:2.6.0'
37 <groupId>com.squareup.okhttp</groupId>
45 testCompile 'com.squareup.okhttp:mockwebserver:2.6.0'
66 [1]: http://square.github.io/okhttp
67 [2]: https://github.com/square/okhttp/wiki
68 [3]: https://search.maven.org/remote_content?g=com.squareup.okhttp&a=okhttp&v=LATEST
69 [4]: https://search.maven.org/remote_content?g=com.squareup.okhttp&a=mockwebserver&v=LATEST
DREADME.android1 URL: https://github.com/square/okhttp
9 - com.squareup.okhttp.internal.Platform - to replace the Platform class that
10 comes with okhttp. Avoids use of reflection where possible.
11 - com.squareup.okhttp.Http(s)Handler - integration with Android's corelibs.
12 - com.squareup.okhttp.ConfigAwareConnectionPool - support for a
14 - com.squareup.okhttp.internal.Version - a hand-crafted version of
15 okhttp/src/main/java-templates/com/squareup/okhttp/internal/Version.java
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2FrameLoggerTest.java16 package com.squareup.okhttp.internal.framed;
23 import static com.squareup.okhttp.internal.framed.Http2.FLAG_ACK;
24 import static com.squareup.okhttp.internal.framed.Http2.FLAG_END_HEADERS;
25 import static com.squareup.okhttp.internal.framed.Http2.FLAG_END_STREAM;
26 import static com.squareup.okhttp.internal.framed.Http2.FLAG_NONE;
27 import static com.squareup.okhttp.internal.framed.Http2.FrameLogger.formatFlags;
28 import static com.squareup.okhttp.internal.framed.Http2.FrameLogger.formatHeader;
29 import static com.squareup.okhttp.internal.framed.Http2.TYPE_CONTINUATION;
30 import static com.squareup.okhttp.internal.framed.Http2.TYPE_DATA;
31 import static com.squareup.okhttp.internal.framed.Http2.TYPE_GOAWAY;
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DInternal.java16 package com.squareup.okhttp.internal;
18 import com.squareup.okhttp.Address;
19 import com.squareup.okhttp.Call;
20 import com.squareup.okhttp.Callback;
21 import com.squareup.okhttp.ConnectionPool;
22 import com.squareup.okhttp.ConnectionSpec;
23 import com.squareup.okhttp.Headers;
24 import com.squareup.okhttp.HttpUrl;
25 import com.squareup.okhttp.OkHttpClient;
26 import com.squareup.okhttp.internal.http.StreamAllocation;
[all …]
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketReader.java16 package com.squareup.okhttp.internal.ws;
18 import com.squareup.okhttp.MediaType;
19 import com.squareup.okhttp.ResponseBody;
20 import com.squareup.okhttp.ws.WebSocket;
30 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_FLAG_FIN;
31 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_FLAG_RSV1;
32 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_FLAG_RSV2;
33 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_FLAG_RSV3;
34 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_MASK_OPCODE;
35 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B1_FLAG_MASK;
[all …]
DWebSocketWriter.java16 package com.squareup.okhttp.internal.ws;
26 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_FLAG_FIN;
27 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B1_FLAG_MASK;
28 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_CONTINUATION;
29 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_CONTROL_CLOSE;
30 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_CONTROL_PING;
31 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_CONTROL_PONG;
32 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.PAYLOAD_LONG;
33 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.PAYLOAD_BYTE_MAX;
34 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.PAYLOAD_SHORT;
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DRealConnection.java18 package com.android.okhttp.internal.io;
20 import com.android.okhttp.Address;
21 import com.android.okhttp.CertificatePinner;
22 import com.android.okhttp.Connection;
23 import com.android.okhttp.ConnectionSpec;
24 import com.android.okhttp.Handshake;
25 import com.android.okhttp.HttpUrl;
26 import com.android.okhttp.Protocol;
27 import com.android.okhttp.Request;
28 import com.android.okhttp.Response;
[all …]
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DWebSocketEcho.java1 package com.squareup.okhttp.recipes;
3 import com.squareup.okhttp.OkHttpClient;
4 import com.squareup.okhttp.Request;
5 import com.squareup.okhttp.RequestBody;
6 import com.squareup.okhttp.Response;
7 import com.squareup.okhttp.ResponseBody;
8 import com.squareup.okhttp.ws.WebSocket;
9 import com.squareup.okhttp.ws.WebSocketCall;
10 import com.squareup.okhttp.ws.WebSocketListener;
17 import static com.squareup.okhttp.ws.WebSocket.BINARY;
[all …]
DPostMultipart.java16 package com.squareup.okhttp.recipes;
18 import com.squareup.okhttp.MediaType;
19 import com.squareup.okhttp.MultipartBuilder;
20 import com.squareup.okhttp.OkHttpClient;
21 import com.squareup.okhttp.Request;
22 import com.squareup.okhttp.RequestBody;
23 import com.squareup.okhttp.Response;
DPostForm.java16 package com.squareup.okhttp.recipes;
18 import com.squareup.okhttp.FormEncodingBuilder;
19 import com.squareup.okhttp.OkHttpClient;
20 import com.squareup.okhttp.Request;
21 import com.squareup.okhttp.RequestBody;
22 import com.squareup.okhttp.Response;
DPostString.java16 package com.squareup.okhttp.recipes;
18 import com.squareup.okhttp.MediaType;
19 import com.squareup.okhttp.OkHttpClient;
20 import com.squareup.okhttp.Request;
21 import com.squareup.okhttp.RequestBody;
22 import com.squareup.okhttp.Response;
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DInternal.java17 package com.android.okhttp.internal;
19 import com.android.okhttp.Address;
20 import com.android.okhttp.Call;
21 import com.android.okhttp.Callback;
22 import com.android.okhttp.ConnectionPool;
23 import com.android.okhttp.ConnectionSpec;
24 import com.android.okhttp.Headers;
25 import com.android.okhttp.HttpUrl;
26 import com.android.okhttp.OkHttpClient;
27 import com.android.okhttp.internal.http.StreamAllocation;
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java17 package com.squareup.okhttp.internal.io;
19 import com.squareup.okhttp.Address;
20 import com.squareup.okhttp.CertificatePinner;
21 import com.squareup.okhttp.Connection;
22 import com.squareup.okhttp.ConnectionSpec;
23 import com.squareup.okhttp.Handshake;
24 import com.squareup.okhttp.HttpUrl;
25 import com.squareup.okhttp.Protocol;
26 import com.squareup.okhttp.Request;
27 import com.squareup.okhttp.Response;
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttp2xStream.java18 package com.android.okhttp.internal.http;
20 import com.android.okhttp.Headers;
21 import com.android.okhttp.Protocol;
22 import com.android.okhttp.Request;
23 import com.android.okhttp.Response;
24 import com.android.okhttp.ResponseBody;
25 import com.android.okhttp.internal.Util;
26 import com.android.okhttp.internal.framed.ErrorCode;
27 import com.android.okhttp.internal.framed.FramedConnection;
28 import com.android.okhttp.internal.framed.FramedStream;
[all …]
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DHttpURLConnectionImpl.java19 package com.android.okhttp.internal.huc;
21 import com.android.okhttp.Connection;
22 import com.android.okhttp.Handshake;
23 import com.android.okhttp.Headers;
24 import com.android.okhttp.HttpUrl;
25 import com.android.okhttp.OkHttpClient;
26 import com.android.okhttp.Protocol;
27 import com.android.okhttp.Request;
28 import com.android.okhttp.RequestBody;
29 import com.android.okhttp.Response;
[all …]
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
DWebSocketCall.java16 package com.squareup.okhttp.ws;
18 import com.squareup.okhttp.Call;
19 import com.squareup.okhttp.Callback;
20 import com.squareup.okhttp.OkHttpClient;
21 import com.squareup.okhttp.Request;
22 import com.squareup.okhttp.Response;
23 import com.squareup.okhttp.internal.Internal;
24 import com.squareup.okhttp.internal.Util;
25 import com.squareup.okhttp.internal.http.StreamAllocation;
26 import com.squareup.okhttp.internal.ws.RealWebSocket;
[all …]
/external/grpc-grpc-java/okhttp/
Dbuild.gradle5 libraries.okhttp,
17 main { java { srcDir "${projectDir}/third_party/okhttp/main/java" } }
18 test { java { srcDir "${projectDir}/third_party/okhttp/test/java" } }
21 checkstyleMain.exclude '**/io/grpc/okhttp/internal/**'
23 javadoc.exclude 'io/grpc/okhttp/internal/**'
24 javadoc.options.links 'http://square.github.io/okhttp/2.x/okhttp/'
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DUtilsTest.java17 package io.grpc.okhttp;
23 import io.grpc.okhttp.internal.CipherSuite;
24 import io.grpc.okhttp.internal.ConnectionSpec;
25 import io.grpc.okhttp.internal.TlsVersion;
45 com.squareup.okhttp.ConnectionSpec plaintext = com.squareup.okhttp.ConnectionSpec.CLEARTEXT; in convertSpecRejectsPlaintext()
53 com.squareup.okhttp.ConnectionSpec squareSpec = com.squareup.okhttp.ConnectionSpec.MODERN_TLS; in convertSpecKeepsAllData()
56 List<com.squareup.okhttp.TlsVersion> squareTlsVersions = squareSpec.tlsVersions(); in convertSpecKeepsAllData()
59 List<com.squareup.okhttp.CipherSuite> squareCipherSuites = squareSpec.cipherSuites(); in convertSpecKeepsAllData()
/external/okhttp/okhttp-logging-interceptor/src/main/java/com/squareup/okhttp/logging/
DHttpLoggingInterceptor.java16 package com.squareup.okhttp.logging;
18 import com.squareup.okhttp.Connection;
19 import com.squareup.okhttp.Headers;
20 import com.squareup.okhttp.Interceptor;
21 import com.squareup.okhttp.MediaType;
22 import com.squareup.okhttp.OkHttpClient;
23 import com.squareup.okhttp.Protocol;
24 import com.squareup.okhttp.Request;
25 import com.squareup.okhttp.RequestBody;
26 import com.squareup.okhttp.Response;
[all …]
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DOkHttpAsync.java16 package com.squareup.okhttp.benchmarks;
18 import com.squareup.okhttp.Callback;
19 import com.squareup.okhttp.Dispatcher;
20 import com.squareup.okhttp.HttpUrl;
21 import com.squareup.okhttp.OkHttpClient;
22 import com.squareup.okhttp.Request;
23 import com.squareup.okhttp.Response;
24 import com.squareup.okhttp.ResponseBody;
25 import com.squareup.okhttp.internal.SslContextBuilder;
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java17 package io.grpc.okhttp;
39 import io.grpc.okhttp.internal.CipherSuite;
40 import io.grpc.okhttp.internal.ConnectionSpec;
41 import io.grpc.okhttp.internal.Platform;
42 import io.grpc.okhttp.internal.TlsVersion;
91 public static final com.squareup.okhttp.ConnectionSpec DEFAULT_CONNECTION_SPEC =
92 new com.squareup.okhttp.ConnectionSpec.Builder(com.squareup.okhttp.ConnectionSpec.MODERN_TLS)
95 com.squareup.okhttp.CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
96 com.squareup.okhttp.CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
97 com.squareup.okhttp.CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
[all …]
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java18 package com.squareup.okhttp.internal.huc;
20 import com.squareup.okhttp.Connection;
21 import com.squareup.okhttp.Handshake;
22 import com.squareup.okhttp.Headers;
23 import com.squareup.okhttp.HttpUrl;
24 import com.squareup.okhttp.OkHttpClient;
25 import com.squareup.okhttp.Protocol;
26 import com.squareup.okhttp.Request;
27 import com.squareup.okhttp.RequestBody;
28 import com.squareup.okhttp.Response;
[all …]
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/
DCacheAdapter.java17 package com.android.okhttp.internal.huc;
19 import com.android.okhttp.Request;
20 import com.android.okhttp.Response;
21 import com.android.okhttp.internal.InternalCache;
22 import com.android.okhttp.internal.http.CacheRequest;
23 import com.android.okhttp.internal.http.CacheStrategy;
32 import com.android.okhttp.okio.Okio;
33 import com.android.okhttp.okio.Sink;

12345678910>>...21