Searched refs:isValidPort (Results 1 – 1 of 1) sorted by relevance
134 checkArgument(isValidPort(port), "Port out of range: %s", port); in fromParts()200 checkArgument(isValidPort(port), "Port number out of range: %s", hostPortString); in fromString()248 checkArgument(isValidPort(defaultPort)); in withDefaultPort()311 private static boolean isValidPort(int port) { in isValidPort() method in HostAndPort