Searched refs:defaultPort (Results 1 – 9 of 9) sorted by relevance
71 private final int defaultPort; field in Scheme111 this.defaultPort = port; in Scheme()122 return defaultPort; in getDefaultPort()169 return ((port <= 0) || (port > 0xffff)) ? defaultPort : port; in resolvePort()184 buffer.append(Integer.toString(this.defaultPort)); in toString()206 defaultPort == s.defaultPort && in equals()221 hash = LangUtils.hashCode(hash, this.defaultPort); in hashCode()
117 public int getPortOrDefault(int defaultPort) { in getPortOrDefault() argument118 return hasPort() ? port : defaultPort; in getPortOrDefault()248 public HostAndPort withDefaultPort(int defaultPort) { in withDefaultPort() argument249 checkArgument(isValidPort(defaultPort)); in withDefaultPort()250 if (hasPort() || port == defaultPort) { in withDefaultPort()253 return new HostAndPort(host, defaultPort, hasBracketlessColons); in withDefaultPort()
97 int defaultPort, in checkFromStringCase() argument112 final boolean badDefaultPort = (defaultPort < 0 || defaultPort > 65535); in checkFromStringCase()115 hp2 = hp.withDefaultPort(defaultPort); in checkFromStringCase()
154 public static int defaultPort(String scheme) { in defaultPort() method in HttpUrl396 int defaultPort = defaultPort(scheme); in build() local397 int effectivePort = port != -1 ? port : defaultPort; in build()398 if (effectivePort != defaultPort) { in build()498 this.port = defaultPort(this.scheme); in parse()
171 String effectivePort = url.port() != HttpUrl.defaultPort(url.scheme()) in testHttpUrl()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...