Searched refs:TLS_PROTOCOLS (Results 1 – 2 of 2) sorted by relevance
45 static final List<Protocol> TLS_PROTOCOLS = field in OkHttpTlsUpgrader64 sslSocket, host, spec.supportsTlsExtensions() ? TLS_PROTOCOLS : null); in upgrade()66 TLS_PROTOCOLS.contains(Protocol.get(negotiatedProtocol)), in upgrade()67 "Only " + TLS_PROTOCOLS + " are supported, but negotiated protocol is %s", in upgrade() local
33 OkHttpTlsUpgrader.TLS_PROTOCOLS.indexOf(Protocol.GRPC_EXP) == -1 in upgrade_grpcExp()34 || OkHttpTlsUpgrader.TLS_PROTOCOLS.indexOf(Protocol.GRPC_EXP) in upgrade_grpcExp()35 < OkHttpTlsUpgrader.TLS_PROTOCOLS.indexOf(Protocol.HTTP_2)); in upgrade_grpcExp()