Searched refs:HTTP_2 (Results 1 – 15 of 15) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | Http2ConnectionTest.java | 51 private static final Variant HTTP_2 = new Http2(); field in Http2ConnectionTest 59 peer.setVariantAndClient(HTTP_2, false); in serverPingsClientHttp2() 67 connection(peer, HTTP_2); in serverPingsClientHttp2() 79 peer.setVariantAndClient(HTTP_2, false); in clientPingsServerHttp2() 87 FramedConnection connection = connection(peer, HTTP_2); in clientPingsServerHttp2() 101 peer.setVariantAndClient(HTTP_2, false); 115 FramedConnection connection = connection(peer, HTTP_2); 177 peer.setVariantAndClient(HTTP_2, false); 189 FramedConnection connection = connection(peer, HTTP_2); 229 peer.setVariantAndClient(HTTP_2, false); [all …]
|
D | HttpOverHttp2Test.java | 31 super(Protocol.HTTP_2); in HttpOverHttp2Test()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Protocol.java | 69 HTTP_2("h2"); enumConstant 85 if (protocol.equals(HTTP_2.protocol)) return HTTP_2; in get()
|
D | OkHttpClient.java | 55 Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CallTest.java | 176 enableProtocol(Protocol.HTTP_2); in get_HTTP_2() 215 enableProtocol(Protocol.HTTP_2); in repeatedHeaderNames_HTTP_2() 255 enableProtocol(Protocol.HTTP_2); in head_HTTP_2() 289 enableProtocol(Protocol.HTTP_2); in post_HTTP_2() 323 enableProtocol(Protocol.HTTP_2); in postZerolength_HTTP_2() 342 enableProtocol(Protocol.HTTP_2); in postBodyRetransmittedAfterAuthorizationFail_HTTP_2() 362 enableProtocol(Protocol.HTTP_2); in postEmptyBodyRetransmittedAfterAuthorizationFail_HTTP_2() 453 enableProtocol(Protocol.HTTP_2); in delete_HTTP_2() 504 enableProtocol(Protocol.HTTP_2); in put_HTTP_2() 533 enableProtocol(Protocol.HTTP_2); in patch_HTTP_2() [all …]
|
D | OkHttpClientTest.java | 104 assertEquals(Arrays.asList(Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1), in copyWithDefaultsWhenDefaultIsAConstant()
|
D | ConnectionReuseTest.java | 230 client.setProtocols(Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)); in enableHttp2()
|
D | URLConnectionTest.java | 1423 enableProtocol(Protocol.HTTP_2); 1438 enableProtocol(Protocol.HTTP_2); 2977 setsNegotiatedProtocolHeader(Protocol.HTTP_2); 3015 enableProtocol(Protocol.HTTP_2); 3030 enableProtocol(Protocol.HTTP_2);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | FramedConnection.java | 138 if (builder.client && protocol == Protocol.HTTP_2) { in FramedConnection() 154 if (protocol == Protocol.HTTP_2) { in FramedConnection() 235 if (protocol != Protocol.HTTP_2) throw new IllegalStateException("protocol != HTTP_2"); in pushStream() 719 if (getProtocol() == Protocol.HTTP_2) { in settings() 829 return protocol == Protocol.HTTP_2 && streamId != 0 && (streamId & 1) == 0; in pushedStream()
|
D | Http2.java | 46 return Protocol.HTTP_2; in getProtocol()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | Http2xStream.java | 131 List<Header> requestHeaders = framedConnection.getProtocol() == Protocol.HTTP_2 in writeRequestHeaders() 149 return framedConnection.getProtocol() == Protocol.HTTP_2 in readResponseHeaders() 271 .protocol(Protocol.HTTP_2) in readHttp2HeadersList()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | ExternalHttp2Example.java | 37 .setProtocols(Util.immutableList(Protocol.HTTP_2, Protocol.HTTP_1_1)); in main()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/ |
D | FramedServer.java | 43 Util.immutableList(Protocol.HTTP_2, Protocol.SPDY_3);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/ |
D | RealConnection.java | 155 if (protocol == Protocol.SPDY_3 || protocol == Protocol.HTTP_2) { in connectSocket()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServer.java | 131 = Util.immutableList(Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1); 901 } else if (protocol == Protocol.HTTP_2) {
|