Searched refs:SPDY_3 (Results 1 - 11 of 11) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
H A D | HttpOverSpdy3Test.java | 23 super(Protocol.SPDY_3);
|
H A D | HeadersTest.java | 40 SpdyTransport.readNameValueBlock(headerBlock, Protocol.SPDY_3).request(request).build(); 46 assertEquals(Protocol.SPDY_3.name.utf8(), headers.get(OkHeaders.SELECTED_PROTOCOL)); 48 assertEquals(Protocol.SPDY_3.name.utf8(), headers.value(0)); 66 SpdyTransport.readNameValueBlock(headerBlock, Protocol.SPDY_3).request(request).build(); 70 assertEquals(Protocol.SPDY_3.name.utf8(), headers.value(0)); 96 SpdyTransport.writeNameValueBlock(request, Protocol.SPDY_3, "HTTP/1.1"); 121 assertEquals(expected, SpdyTransport.writeNameValueBlock(request, Protocol.SPDY_3, "HTTP/1.1"));
|
H A D | URLConnectionTest.java | 2801 npnSetsProtocolHeader(Protocol.SPDY_3); 2825 enableNpn(Protocol.SPDY_3); 2840 enableNpn(Protocol.SPDY_3); 2874 client.setProtocols(Arrays.asList(Protocol.SPDY_3));
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | Protocol.java | 38 SPDY_3("spdy/3.1", true), enum constant in enum:Protocol 42 Util.immutableList(Arrays.asList(HTTP_2, SPDY_3, HTTP_11)); 44 Util.immutableList(Arrays.asList(SPDY_3, HTTP_11));
|
H A D | Connection.java | 187 boolean spdy3 = route.address.protocols.contains(Protocol.SPDY_3);
|
/external/okhttp/android/test/java/com/squareup/okhttp/internal/ |
H A D | PlatformTest.java | 80 List<Protocol> protocols = Arrays.asList(Protocol.SPDY_3);
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/spdy/ |
H A D | SpdyServer.java | 74 return Arrays.asList(Protocol.SPDY_3.name.utf8());
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | SpdyTransport.java | 125 if (Protocol.SPDY_3 == protocol) { 232 if (protocol == Protocol.SPDY_3) {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
H A D | SpdyConnection.java | 147 } else if (protocol == Protocol.SPDY_3) { 498 private Protocol protocol = Protocol.SPDY_3;
|
H A D | Spdy3.java | 39 return Protocol.SPDY_3;
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
H A D | MockWebServer.java | 646 String version = protocol == Protocol.SPDY_3 ? "<:version omitted>" : "HTTP/1.1"; 686 if (protocol == Protocol.SPDY_3) { 739 pushedHeaders.add(new Header(stream.getConnection().getProtocol() == Protocol.SPDY_3
|
Completed in 564 milliseconds