Searched defs:getDefaultPort (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/libcore/net/url/
H A DFtpHandler.java66 protected int getDefaultPort() { method in class:FtpHandler
/libcore/luni/src/main/java/java/net/
H A DURLStreamHandler.java314 protected int getDefaultPort() { method in class:URLStreamHandler
H A DURL.java612 * will use its {@link #getDefaultPort() default port}.
623 * @see URLStreamHandler#getDefaultPort
625 public int getDefaultPort() { method in class:URL
626 return streamHandler.getDefaultPort();
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLStreamHandlerTest.java51 assertEquals(-1, handler.getDefaultPort());
167 assertEquals(-1, msh.getDefaultPort());
184 @Override public int getDefaultPort() { method in class:OldURLStreamHandlerTest.MockURLStreamHandler
185 return super.getDefaultPort();

Completed in 158 milliseconds