Home
last modified time | relevance | path

Searched refs:canonicalizeHost (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpTlsUpgraderTest.java19 import static io.grpc.okhttp.OkHttpTlsUpgrader.canonicalizeHost;
39 assertEquals("::1", canonicalizeHost("::1"));
40 assertEquals("::1", canonicalizeHost("[::1]"));
41 assertEquals("127.0.0.1", canonicalizeHost("127.0.0.1"));
42 assertEquals("some.long.url.com", canonicalizeHost("some.long.url.com"));
45 assertEquals("[::1]", canonicalizeHost("[[::1]]"));
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpTlsUpgrader.java73 if (!hostnameVerifier.verify(canonicalizeHost(host), sslSocket.getSession())) { in upgrade()
91 static String canonicalizeHost(String host) { in canonicalizeHost() method in OkHttpTlsUpgrader
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHttpUrl.java720 String encoded = canonicalizeHost(host, 0, host.length()); in host()
1046 this.host = canonicalizeHost(input, pos, portColonOffset); in parse()
1050 this.host = canonicalizeHost(input, pos, portColonOffset); in parse()
1275 private static String canonicalizeHost(String input, int pos, int limit) {
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DHttpUrl.java729 String encoded = canonicalizeHost(host, 0, host.length()); in host()
1056 this.host = canonicalizeHost(input, pos, portColonOffset); in parse()
1060 this.host = canonicalizeHost(input, pos, portColonOffset); in parse()
1285 private static String canonicalizeHost(String input, int pos, int limit) {