/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Protocol.java | 45 HTTP_1_1("http/1.1"), 84 if (protocol.equals(HTTP_1_1.protocol)) return HTTP_1_1;
|
Connection.java | 83 private Protocol protocol = Protocol.HTTP_1_1; 257 : Protocol.HTTP_1_1; 460 * Protocol#HTTP_1_1} if no protocol has been negotiated.
|
OkHttpClient.java | 60 Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1); 549 * must contain {@link Protocol#HTTP_1_1}. It must not contain null or 554 if (!protocols.contains(Protocol.HTTP_1_1)) {
|
/external/jetty/src/java/org/eclipse/jetty/http/ |
HttpVersions.java | 34 HTTP_1_1 = "HTTP/1.1"; 46 HTTP_1_1_BUFFER=CACHE.add(HTTP_1_1,HTTP_1_1_ORDINAL);
|
/external/apache-http/src/org/apache/http/ |
HttpVersion.java | 63 public static final HttpVersion HTTP_1_1 = new HttpVersion(1, 1); 98 return HTTP_1_1;
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
StatusLineTest.java | 33 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); 42 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); 56 assertEquals(Protocol.HTTP_1_1, statusLine.protocol);
|
ExternalHttp2Example.java | 37 .setProtocols(Util.immutableList(Protocol.HTTP_2, Protocol.HTTP_1_1));
|
ExternalSpdyExample.java | 37 .setProtocols(Util.immutableList(Protocol.SPDY_3, Protocol.HTTP_1_1));
|
/external/apache-http/src/org/apache/http/params/ |
HttpProtocolParams.java | 135 return HttpVersion.HTTP_1_1;
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
HttpsHandler.java | 62 private static final List<Protocol> HTTP_1_1_ONLY = Arrays.asList(Protocol.HTTP_1_1);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
StatusLine.java | 45 protocol = Protocol.HTTP_1_1;
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
AddressTest.java | 31 private List<Protocol> protocols = Util.immutableList(Protocol.HTTP_1_1);
|
OkHttpClientTest.java | 104 assertEquals(Arrays.asList(Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1), 190 client.setProtocols(Arrays.asList(Protocol.HTTP_1_0, Protocol.HTTP_1_1));
|
ConnectionPoolTest.java | 91 Util.immutableList(Protocol.SPDY_3, Protocol.HTTP_1_1), CONNECTION_SPECS, proxySelector); 98 AuthenticatorAdapter.INSTANCE, null, Util.immutableList(Protocol.SPDY_3, Protocol.HTTP_1_1),
|
InterceptorTest.java | 62 .protocol(Protocol.HTTP_1_1) 85 .protocol(Protocol.HTTP_1_1)
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
HttpClientFactory.java | 66 params.setParameter(CoreProtocolPNames.PROTOCOL_VERSION, HttpVersion.HTTP_1_1);
|
/external/apache-http/src/org/apache/http/protocol/ |
HttpService.java | 146 if (!ver.lessEquals(HttpVersion.HTTP_1_1)) { 148 ver = HttpVersion.HTTP_1_1;
|
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
OkApacheClient.java | 32 import static org.apache.http.HttpVersion.HTTP_1_1; 82 BasicHttpResponse httpResponse = new BasicHttpResponse(HTTP_1_1, code, message);
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
JavaApiConverterTest.java | 125 assertEquals(Protocol.HTTP_1_1, response.protocol()); 205 assertEquals(Protocol.HTTP_1_1, response.protocol()); 352 .protocol(Protocol.HTTP_1_1) 507 .protocol(Protocol.HTTP_1_1) 531 .protocol(Protocol.HTTP_1_1) 557 .protocol(Protocol.HTTP_1_1) 648 .protocol(Protocol.HTTP_1_1)
|
/external/okhttp/android/test/java/com/squareup/okhttp/internal/ |
PlatformTest.java | 52 List<Protocol> protocols = Arrays.asList(Protocol.HTTP_1_1, Protocol.SPDY_3);
|
/frameworks/base/tests/CoreTests/android/core/ |
TestHttpClient.java | 74 .setParameter(CoreProtocolPNames.PROTOCOL_VERSION, HttpVersion.HTTP_1_1)
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 130 = Util.immutableList(Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1); 238 * must contain {@linkplain Protocol#HTTP_1_1}. It must not contain null. 242 if (!protocols.contains(Protocol.HTTP_1_1)) { 432 Protocol protocol = Protocol.HTTP_1_1; 458 protocol = protocolString != null ? Protocol.get(protocolString) : Protocol.HTTP_1_1; 465 if (protocol != Protocol.HTTP_1_1) { 692 .protocol(Protocol.HTTP_1_1) [all...] |
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
Benchmark.java | 85 List<Protocol> protocols = Arrays.asList(Protocol.HTTP_1_1);
|
NettyHttpClient.java | 149 HttpVersion.HTTP_1_1, HttpMethod.GET, url.encodedPath());
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/ |
WebSocketCall.java | 73 client.setProtocols(Collections.singletonList(com.squareup.okhttp.Protocol.HTTP_1_1));
|