Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for commonNewBuilder (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

    import okhttp3.internal.http.HttpMethod
    
    fun Request.commonHeader(name: String): String? = headers[name]
    
    fun Request.commonHeaders(name: String): List<String> = headers.values(name)
    
    fun Request.commonNewBuilder(): Request.Builder = Request.Builder(this)
    
    fun Request.commonCacheControl(): CacheControl {
      var result = lazyCacheControl
      if (result == null) {
        result = CacheControl.parse(headers)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Headers.kt

    import okhttp3.internal.commonHashCode
    import okhttp3.internal.commonHeadersGet
    import okhttp3.internal.commonHeadersOf
    import okhttp3.internal.commonIterator
    import okhttp3.internal.commonName
    import okhttp3.internal.commonNewBuilder
    import okhttp3.internal.commonRemoveAll
    import okhttp3.internal.commonSet
    import okhttp3.internal.commonToHeaders
    import okhttp3.internal.commonToString
    import okhttp3.internal.commonValue
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

      val buffer = Buffer()
      peeked.request(byteCount)
      buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
      return buffer.asResponseBody(body.contentType(), buffer.size)
    }
    
    fun Response.commonNewBuilder(): Response.Builder = Response.Builder(this)
    
    val Response.commonIsRedirect: Boolean
      get() =
        when (code) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Response.kt

    import okhttp3.internal.commonIsRedirect
    import okhttp3.internal.commonIsSuccessful
    import okhttp3.internal.commonMessage
    import okhttp3.internal.commonNetworkResponse
    import okhttp3.internal.commonNewBuilder
    import okhttp3.internal.commonPriorResponse
    import okhttp3.internal.commonProtocol
    import okhttp3.internal.commonRemoveHeader
    import okhttp3.internal.commonRequest
    import okhttp3.internal.commonToString
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

        }
      }
      return result?.toList().orEmpty()
    }
    
    internal fun Headers.commonIterator(): Iterator<Pair<String, String>> {
      return Array(size) { name(it) to value(it) }.iterator()
    }
    
    internal fun Headers.commonNewBuilder(): Headers.Builder {
      val result = Headers.Builder()
      result.namesAndValues += namesAndValues
      return result
    }
    
    internal fun Headers.commonEquals(other: Any?): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top