Home
last modified time | relevance | path

Searched refs:defaultPort (Results 1 – 9 of 9) sorted by relevance

/external/apache-http/src/org/apache/http/conn/scheme/
DScheme.java71 private final int defaultPort; field in Scheme
111 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()
/external/guava/guava/src/com/google/common/net/
DHostAndPort.java117 public int getPortOrDefault(int defaultPort) { in getPortOrDefault() argument
118 return hasPort() ? port : defaultPort; in getPortOrDefault()
248 public HostAndPort withDefaultPort(int defaultPort) { in withDefaultPort() argument
249 checkArgument(isValidPort(defaultPort)); in withDefaultPort()
250 if (hasPort() || port == defaultPort) { in withDefaultPort()
253 return new HostAndPort(host, defaultPort, hasBracketlessColons); in withDefaultPort()
/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java97 int defaultPort, in checkFromStringCase() argument
112 final boolean badDefaultPort = (defaultPort < 0 || defaultPort > 65535); in checkFromStringCase()
115 hp2 = hp.withDefaultPort(defaultPort); in checkFromStringCase()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHttpUrl.java154 public static int defaultPort(String scheme) { in defaultPort() method in HttpUrl
396 int defaultPort = defaultPort(scheme); in build() local
397 int effectivePort = port != -1 ? port : defaultPort; in build()
398 if (effectivePort != defaultPort) { in build()
498 this.port = defaultPort(this.scheme); in parse()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DWebPlatformUrlTest.java171 String effectivePort = url.port() != HttpUrl.defaultPort(url.scheme()) in testHttpUrl()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.commons.httpclient_3.1.0.v201005080502.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/lib/main/
Dhttpclient-4.0.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...