Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isNullOrEmpty (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        pattern: String?,
      ): Boolean {
        var hostname = hostname
        var pattern = pattern
        if (hostname.isNullOrEmpty() ||
          hostname.startsWith(".") ||
          hostname.endsWith("..")
        ) {
          // Invalid domain name.
          return false
        }
        if (pattern.isNullOrEmpty() ||
          pattern.startsWith(".") ||
          pattern.endsWith("..")
        ) {
          // Invalid pattern.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

          // Try each of the ProxySelector choices until one connection succeeds.
          val proxiesOrNull = address.proxySelector.select(uri)
          if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY)
    
          return proxiesOrNull.toImmutableList()
        }
    
        connectionUser.proxySelectStart(url)
        proxies = selectProxies()
        nextProxyIndex = 0
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top