Searched refs:setProtocols (Results 1 – 16 of 16) sorted by relevance
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 560 setProtocols(newValue, false /* append */); in setRequestProperty() 594 setProtocols(value, true /* append */); in addRequestProperty() 606 private void setProtocols(String protocolsString, boolean append) { in setProtocols() method in HttpURLConnectionImpl 618 client.setProtocols(protocolsList); in setProtocols()
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
D | HttpsHandler.java | 76 okHttpClient.setProtocols(HTTP_1_1_ONLY); in createHttpsOkUrlFactory()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | ExternalSpdyExample.java | 37 .setProtocols(Util.immutableList(Protocol.SPDY_3, Protocol.HTTP_1_1)); in main()
|
D | ExternalHttp2Example.java | 37 .setProtocols(Util.immutableList(Protocol.HTTP_2, Protocol.HTTP_1_1)); in main()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | OkHttp.java | 38 client.setProtocols(benchmark.protocols); in prepare()
|
D | OkHttpAsync.java | 51 client.setProtocols(benchmark.protocols); in prepare()
|
D | Benchmark.java | 166 server.setProtocols(protocols); in startServer()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | ConnectionReuseTest.java | 230 client.setProtocols(Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)); in enableHttp2() 232 server.setProtocols(client.getProtocols()); in enableHttp2()
|
D | OkHttpClientTest.java | 190 client.setProtocols(Arrays.asList(Protocol.HTTP_1_0, Protocol.HTTP_1_1)); in setProtocolsRejectsHttp10()
|
D | URLConnectionTest.java | 2983 client.client().setProtocols(Arrays.asList(protocol, Protocol.HTTP_1_1)); 3063 @Test public void setProtocols() throws Exception { 3065 client.client().setProtocols(Arrays.asList(Protocol.HTTP_1_1)); 3071 client.client().setProtocols(Arrays.asList(Protocol.SPDY_3)); 3079 client.client().setProtocols(Arrays.asList(Protocol.HTTP_1_1, null)); 3450 client.client().setProtocols(Arrays.asList(protocol, Protocol.HTTP_1_1)); 3453 server.setProtocols(client.client().getProtocols());
|
D | CallTest.java | 2138 server.setProtocols(Collections.singletonList(Protocol.HTTP_1_1)); in ipv6HostHasSquareBraces() 2202 client.setProtocols(Arrays.asList(protocol, Protocol.HTTP_1_1)); in enableProtocol() 2203 server.setProtocols(client.getProtocols()); in enableProtocol()
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/ |
D | WebSocketCall.java | 70 client.setProtocols(Collections.singletonList(com.squareup.okhttp.Protocol.HTTP_1_1)); in WebSocketCall()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/ |
D | SSLParametersTest.java | 102 p.setProtocols(copy); in test_SSLParameters_Protocols()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | OkHttpClient.java | 513 public OkHttpClient setProtocols(List<Protocol> protocols) { in setProtocols() method in OkHttpClient
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 86 client.client().setProtocols(Arrays.asList(protocol, Protocol.HTTP_1_1)); in setUp()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServer.java | 243 public void setProtocols(List<Protocol> protocols) {
|