OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:defaultPort
(Results
1 - 25
of
56
) sorted by null
1
2
3
/cts/tests/tests/net/src/android/net/cts/
ProxyTest.java
32
int
defaultPort
= Proxy.getDefaultPort();
34
assertEquals(-1,
defaultPort
);
36
assertTrue(
defaultPort
>= minValidPort &&
defaultPort
<= maxValidPort);
/external/apache-http/src/org/apache/http/conn/scheme/
Scheme.java
71
private final int
defaultPort
;
111
this.
defaultPort
= port;
122
return
defaultPort
;
166
* @return the given port or the
defaultPort
169
return ((port <= 0) || (port > 0xffff)) ?
defaultPort
: port;
184
buffer.append(Integer.toString(this.
defaultPort
));
206
defaultPort
== s.
defaultPort
&&
221
hash = LangUtils.hashCode(hash, this.
defaultPort
);
/external/guava/guava/src/com/google/common/net/
HostAndPort.java
117
public int getPortOrDefault(int
defaultPort
) {
118
return hasPort() ? port :
defaultPort
;
244
* @param
defaultPort
a port number, from [0..65535]
247
public HostAndPort withDefaultPort(int
defaultPort
) {
248
checkArgument(isValidPort(
defaultPort
));
249
if (hasPort() || port ==
defaultPort
) {
252
return new HostAndPort(host,
defaultPort
, hasBracketlessColons);
/prebuilts/tools/common/m2/repository/io/grpc/grpc-auth/0.13.2/
grpc-auth-0.13.2.jar
/external/guava/guava-tests/test/com/google/common/net/
HostAndPortTest.java
97
int
defaultPort
,
112
final boolean badDefaultPort = (
defaultPort
< 0 ||
defaultPort
> 65535);
115
hp2 = hp.withDefaultPort(
defaultPort
);
/libcore/ojluni/src/main/java/sun/net/spi/
DefaultProxySelector.java
275
pport =
defaultPort
("socket");
277
pport =
defaultPort
(proto);
312
private int
defaultPort
(String protocol) {
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
WebPlatformUrlTest.java
109
String effectivePort = url.port() != HttpUrl.
defaultPort
(url.scheme())
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
FtpURLConnection.java
303
ftp.connect(new InetSocketAddress(host, FtpClient.
defaultPort
()));
568
urlport = urlport < 0 ? FtpClient.
defaultPort
() : urlport;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
Util.java
261
return url.port() != HttpUrl.
defaultPort
(url.scheme())
/libcore/ojluni/src/main/java/sun/net/ftp/
FtpClient.java
89
public static final int
defaultPort
() {
[
all
...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
HttpUrl.java
430
public static int
defaultPort
(String scheme) {
624
result.port = port !=
defaultPort
(scheme) ? port : -1;
779
return port != -1 ? port :
defaultPort
(scheme);
[
all
...]
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
HttpURLConnectionImpl.java
274
: HttpUrl.
defaultPort
(url.getProtocol());
/prebuilts/tools/common/m2/repository/io/grpc/grpc-netty/0.13.2/
grpc-netty-0.13.2.jar
/prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/0.13.2/
grpc-okhttp-0.13.2.jar
/prebuilts/tools/common/m2/repository/io/grpc/grpc-all/0.13.2/
grpc-all-0.13.2.jar
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.commons.httpclient_3.1.0.v201005080502.jar
/prebuilts/tools/common/m2/repository/io/grpc/grpc-core/0.13.2/
grpc-core-0.13.2.jar
/external/robolectric/v1/lib/main/
httpclient-4.0.3.jar
/prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.0.1/
httpclient-4.0.1.jar
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.0.3/
httpclient-4.0.3.jar
/prebuilts/devtools/tools/lib/
httpclient-4.1.1.jar
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar
/prebuilts/tools/common/http-client/
httpclient-4.1.1.jar
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.1.1/
httpclient-4.1.1.jar
Completed in 969 milliseconds
1
2
3