MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / getPort

Method getPort

vm/JavaAPI/src/java/net/URI.java:624–626  ·  view source on GitHub ↗

Get the port number for this URI. @return the port number for this URI, or -1 if a port number was not specified.

()

Source from the content-addressed store, hash-verified

622 * specified.
623 */
624 public int getPort() {
625 return port;
626 }
627
628 /**
629 * Get the decoded path part of the uri.

Callers 2

normalizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected