Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getHostAndPortFromBracketedHost (0.16 sec)

  1. guava/src/com/google/common/net/HostAndPort.java

        checkNotNull(hostPortString);
        String host;
        String portString = null;
        boolean hasBracketlessColons = false;
    
        if (hostPortString.startsWith("[")) {
          String[] hostAndPort = getHostAndPortFromBracketedHost(hostPortString);
          host = hostAndPort[0];
          portString = hostAndPort[1];
        } else {
          int colonPos = hostPortString.indexOf(':');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top