Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/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(':');
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
Back to top