Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for buildStrings (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/Route.kt

       *
       *  * `example.com:80 at 1.2.3.4:8888`
       *  * `example.com:443 via proxy [::1]:8888`
       *
       * This omits duplicate information when possible.
       */
      override fun toString(): String {
        return buildString {
          val addressHostname = address.url.host // Already in canonical form.
          val socketHostname = socketAddress.address?.hostAddress?.toCanonicalHost()
    
          when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

      return other is Headers && namesAndValues.contentEquals(other.namesAndValues)
    }
    
    internal fun Headers.commonHashCode(): Int = namesAndValues.contentHashCode()
    
    internal fun Headers.commonToString(): String {
      return buildString {
        for (i in 0 until size) {
          val name = name(i)
          val value = value(i)
          append(name)
          append(": ")
          append(if (isSensitiveHeader(name)) "██" else value)
          append("\n")
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

    import okhttp3.CacheControl
    import okhttp3.Headers
    
    internal fun CacheControl.commonToString(): String {
      var result = headerValue
      if (result == null) {
        result =
          buildString {
            if (noCache) append("no-cache, ")
            if (noStore) append("no-store, ")
            if (maxAgeSeconds != -1) append("max-age=").append(maxAgeSeconds).append(", ")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      var logger: Logger? = null
    
      var recordEvents = true
      var recordTaskRunner = false
      var recordFrames = false
      var recordSslDebug = false
    
      private val sslExcludeFilter =
        Regex(
          buildString {
            append("^(?:")
            append(
              listOf(
                "Inaccessible trust store",
                "trustStore is",
                "Reload the trust store",
                "Reload trust certs",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

          @JvmStatic
          fun createFormData(
            name: String,
            filename: String?,
            body: RequestBody,
          ): Part {
            val disposition =
              buildString {
                append("form-data; name=")
                appendQuotedString(name)
    
                if (filename != null) {
                  append("; filename=")
                  appendQuotedString(filename)
                }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

              else -> throw AssertionError("unsupported hashAlgorithm: ${pin.hashAlgorithm}")
            }
          }
        }
    
        // If we couldn't find a matching pin, format a nice exception.
        val message =
          buildString {
            append("Certificate pinning failure!")
            append("\n  Peer certificate chain:")
            for (element in peerCertificates) {
              append("\n    ")
              append(pin(element))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cookie.kt

       *     ignored by more recent specifications.
       */
      internal fun toString(forObsoleteRfc2965: Boolean): String {
        return buildString {
          append(name)
          append('=')
          append(value)
    
          if (persistent) {
            if (expiresAt == Long.MIN_VALUE) {
              append("; max-age=0")
            } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          )
        }
    
        private fun effectivePort(): Int {
          return if (port != -1) port else defaultPort(scheme!!)
        }
    
        override fun toString(): String {
          return buildString {
            if (scheme != null) {
              append(scheme)
              append("://")
            } else {
              append("//")
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  9. test-site/activator-launch-1.3.2.jar

    Utility$(); } scala/xml/TopScope$.class package scala.xml; public final synchronized class TopScope$ extends NamespaceBinding { public static final TopScope$ MODULE$; public static void <clinit>(); public final String toString(); public final void buildString(scala.collection.mutable.StringBuilder, NamespaceBinding); private void TopScope$(); } scala/xml/NamespaceBinding.class package scala.xml; public synchronized class NamespaceBinding implements scala.Product, scala.Serializable, Equality { private...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top