Home
last modified time | relevance | path

Searched refs:setProtocols (Results 1 – 16 of 16) sorted by relevance

/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java560 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/
DHttpsHandler.java76 okHttpClient.setProtocols(HTTP_1_1_ONLY); in createHttpsOkUrlFactory()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
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/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DOkHttp.java38 client.setProtocols(benchmark.protocols); in prepare()
DOkHttpAsync.java51 client.setProtocols(benchmark.protocols); in prepare()
DBenchmark.java166 server.setProtocols(protocols); in startServer()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionReuseTest.java230 client.setProtocols(Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)); in enableHttp2()
232 server.setProtocols(client.getProtocols()); in enableHttp2()
DOkHttpClientTest.java190 client.setProtocols(Arrays.asList(Protocol.HTTP_1_0, Protocol.HTTP_1_1)); in setProtocolsRejectsHttp10()
DURLConnectionTest.java2983 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());
DCallTest.java2138 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/
DWebSocketCall.java70 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/
DSSLParametersTest.java102 p.setProtocols(copy); in test_SSLParameters_Protocols()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java513 public OkHttpClient setProtocols(List<Protocol> protocols) { in setProtocols() method in OkHttpClient
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java86 client.client().setProtocols(Arrays.asList(protocol, Protocol.HTTP_1_1)); in setUp()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java243 public void setProtocols(List<Protocol> protocols) {