Home | History | Annotate | Download | only in http

Lines Matching refs:Protocol

19 import com.squareup.okhttp.Protocol;
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));
79 Response response = SpdyTransport.readNameValueBlock(headerBlock, Protocol.HTTP_2)
84 assertEquals(Protocol.HTTP_2.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"));
136 SpdyTransport.writeNameValueBlock(request, Protocol.HTTP_2, "HTTP/1.1"));