Home
last modified time | relevance | path

Searched refs:SPDY_3 (Results 1 – 15 of 15) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DProtocol.java57 SPDY_3("spdy/3.1"), enumConstant
86 if (protocol.equals(SPDY_3.protocol)) return SPDY_3; in get()
DOkHttpClient.java55 Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1);
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdy3Test.java23 super(Protocol.SPDY_3); in HttpOverSpdy3Test()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java186 enableProtocol(Protocol.SPDY_3); in get_SPDY_3()
210 enableProtocol(Protocol.SPDY_3); in repeatedHeaderNames_SPDY_3()
260 enableProtocol(Protocol.SPDY_3); in head_SPDY_3()
294 enableProtocol(Protocol.SPDY_3); in post_SPDY_3()
328 enableProtocol(Protocol.SPDY_3); in postZeroLength_SPDY_3()
347 enableProtocol(Protocol.SPDY_3); in postBodyRetransmittedAfterAuthorizationFail_SPDY_3()
367 enableProtocol(Protocol.SPDY_3); in postEmptyBodyRetransmittedAfterAuthorizationFail_SPDY_3()
458 enableProtocol(Protocol.SPDY_3); in delete_SPDY_3()
509 enableProtocol(Protocol.SPDY_3); in put_SPDY_3()
543 enableProtocol(Protocol.SPDY_3); in patch_SPDY_3()
[all …]
DOkHttpClientTest.java104 assertEquals(Arrays.asList(Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1), in copyWithDefaultsWhenDefaultIsAConstant()
DURLConnectionTest.java1418 enableProtocol(Protocol.SPDY_3);
1433 enableProtocol(Protocol.SPDY_3);
2973 setsNegotiatedProtocolHeader(Protocol.SPDY_3);
3010 enableProtocol(Protocol.SPDY_3);
3025 enableProtocol(Protocol.SPDY_3);
3071 client.client().setProtocols(Arrays.asList(Protocol.SPDY_3));
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DExternalSpdyExample.java37 .setProtocols(Util.immutableList(Protocol.SPDY_3, Protocol.HTTP_1_1)); in main()
DHeadersTest.java47 assertEquals(Protocol.SPDY_3, response.protocol()); in parseNameValueBlock()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java131 = Util.immutableList(Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1);
887 String version = protocol == Protocol.SPDY_3 ? "<:version omitted>" : "HTTP/1.1";
897 } else if (protocol == Protocol.SPDY_3) {
934 if (protocol == Protocol.SPDY_3) {
959 pushedHeaders.add(new Header(stream.getConnection().getProtocol() == Protocol.SPDY_3
/external/okhttp/android/test/java/com/squareup/okhttp/internal/
DPlatformTest.java58 List<Protocol> protocols = Arrays.asList(Protocol.HTTP_1_1, Protocol.SPDY_3); in enableTlsExtensionOptionalMethods()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/
DFramedServer.java43 Util.immutableList(Protocol.HTTP_2, Protocol.SPDY_3);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java163 } else if (protocol == Protocol.SPDY_3) { in FramedConnection()
541 private Protocol protocol = Protocol.SPDY_3;
DSpdy3.java39 return Protocol.SPDY_3; in getProtocol()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java155 if (protocol == Protocol.SPDY_3 || protocol == Protocol.HTTP_2) { in connectSocket()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttp2xStream.java246 .protocol(Protocol.SPDY_3) in readSpdy3HeadersList()