Home
last modified time | relevance | path

Searched refs:HTTP_1_1 (Results 1 – 25 of 40) sorted by relevance

12

/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DProtocol.java47 HTTP_1_1("http/1.1"), enumConstant
86 if (protocol.equals(HTTP_1_1.protocol)) return HTTP_1_1; in get()
DOkHttpClient.java58 Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1);
529 if (!protocols.contains(Protocol.HTTP_1_1)) { in setProtocols()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DProtocol.java45 HTTP_1_1("http/1.1"), enumConstant
84 if (protocol.equals(HTTP_1_1.protocol)) return HTTP_1_1; in get()
DOkHttpClient.java55 Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1);
515 if (!protocols.contains(Protocol.HTTP_1_1)) { in setProtocols()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DProtocol.java49 HTTP_1_1("http/1.1"), enumConstant
97 if (protocol.equals(HTTP_1_1.protocol)) return HTTP_1_1; in get()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DStatusLineTest.java33 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); in parse()
42 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); in emptyMessage()
56 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); in emptyMessageAndNoLeadingSpace()
DExternalSpdyExample.java37 .setProtocols(Util.immutableList(Protocol.SPDY_3, Protocol.HTTP_1_1)); in main()
DExternalHttp2Example.java37 .setProtocols(Util.immutableList(Protocol.HTTP_2, Protocol.HTTP_1_1)); in main()
/external/apache-http/src/org/apache/http/
DHttpVersion.java63 public static final HttpVersion HTTP_1_1 = new HttpVersion(1, 1); field in HttpVersion
98 return HTTP_1_1; in forVersion()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DJavaApiConverterTest.java125 assertEquals(Protocol.HTTP_1_1, response.protocol()); in createOkResponseForCacheGet()
205 assertEquals(Protocol.HTTP_1_1, response.protocol()); in createOkResponseForCacheGet_secure()
352 .protocol(Protocol.HTTP_1_1) in createJavaUrlConnection_responseHeadersOk()
507 .protocol(Protocol.HTTP_1_1) in createJavaCacheResponse_httpGet()
531 .protocol(Protocol.HTTP_1_1) in createJavaCacheResponse_httpPost()
557 .protocol(Protocol.HTTP_1_1) in createJavaCacheResponse_httpsPost()
648 .protocol(Protocol.HTTP_1_1) in createArbitraryOkResponse()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DRealConnection.java155 protocol = Protocol.HTTP_1_1; in connectSocket()
226 : Protocol.HTTP_1_1; in connectTls()
395 return protocol != null ? protocol : Protocol.HTTP_1_1; in getProtocol()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java151 protocol = Protocol.HTTP_1_1; in connectSocket()
222 : Protocol.HTTP_1_1; in connectTls()
391 return protocol != null ? protocol : Protocol.HTTP_1_1; in getProtocol()
/external/apache-http/src/org/apache/http/protocol/
DHttpService.java146 if (!ver.lessEquals(HttpVersion.HTTP_1_1)) { in handleRequest()
148 ver = HttpVersion.HTTP_1_1; in handleRequest()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DOkHttpClientTest.java104 assertEquals(Arrays.asList(Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1), in copyWithDefaultsWhenDefaultIsAConstant()
190 client.setProtocols(Arrays.asList(Protocol.HTTP_1_0, Protocol.HTTP_1_1)); in setProtocolsRejectsHttp10()
DAddressTest.java32 private List<Protocol> protocols = Util.immutableList(Protocol.HTTP_1_1);
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java131 = Util.immutableList(Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1);
245 if (!protocols.contains(Protocol.HTTP_1_1)) {
435 Protocol protocol = Protocol.HTTP_1_1;
461 protocol = protocolString != null ? Protocol.get(protocolString) : Protocol.HTTP_1_1;
468 if (protocol != Protocol.HTTP_1_1) {
696 .protocol(Protocol.HTTP_1_1)
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/
DHttpsHandler.java47 Collections.singletonList(Protocol.HTTP_1_1);
/external/okhttp/android/src/main/java/com/squareup/okhttp/
DHttpsHandler.java43 Collections.singletonList(Protocol.HTTP_1_1);
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DOkApacheClient.java32 import static org.apache.http.HttpVersion.HTTP_1_1;
82 BasicHttpResponse httpResponse = new BasicHttpResponse(HTTP_1_1, code, message); in transformResponse()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DStatusLine.java45 protocol = Protocol.HTTP_1_1; in parse()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DStatusLine.java47 protocol = Protocol.HTTP_1_1; in parse()
/external/apache-http/src/org/apache/http/params/
DHttpProtocolParams.java135 return HttpVersion.HTTP_1_1; in getVersion()
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
DWebSocketCall.java70 client.setProtocols(Collections.singletonList(com.squareup.okhttp.Protocol.HTTP_1_1)); in WebSocketCall()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DBenchmark.java85 List<Protocol> protocols = Arrays.asList(Protocol.HTTP_1_1);
/external/okhttp/android/src/test/java/com/squareup/okhttp/internal/
DPlatformTest.java58 List<Protocol> protocols = Arrays.asList(Protocol.HTTP_1_1, Protocol.SPDY_3); in enableTlsExtensionOptionalMethods()

12