Searched refs:getEffectivePort (Results 1 - 5 of 5) sorted by relevance

/external/okhttp/android/main/java/libcore/util/
H A DLibcore.java147 public static int getEffectivePort(URI uri) { method in class:Libcore
148 return getEffectivePort(uri.getScheme(), uri.getPort());
151 public static int getEffectivePort(URL url) { method in class:Libcore
152 return getEffectivePort(url.getProtocol(), url.getPort());
155 private static int getEffectivePort(String scheme, int specifiedPort) { method in class:Libcore
/external/okhttp/src/main/java/libcore/util/
H A DLibcore.java205 public static int getEffectivePort(URI uri) { method in class:Libcore
206 return getEffectivePort(uri.getScheme(), uri.getPort());
209 public static int getEffectivePort(URL url) { method in class:Libcore
210 return getEffectivePort(url.getProtocol(), url.getPort());
213 private static int getEffectivePort(String scheme, int specifiedPort) { method in class:Libcore
/external/okhttp/src/main/java/libcore/net/http/
H A DHttpConnection.java307 this.uriPort = Libcore.getEffectivePort(uri);
327 this.uriPort = Libcore.getEffectivePort(uri);
H A DHttpURLConnectionImpl.java385 && Libcore.getEffectivePort(previousUrl) == Libcore.getEffectivePort(url)) {
H A DHttpTransport.java153 result.setStatusLine("CONNECT " + url.getHost() + ":" + Libcore.getEffectivePort(url)

Completed in 383 milliseconds