Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for getHostAndPortFromBracketedHost (0.15 seconds)

  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(':');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
Back to Top