Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for commonCacheControl (0.12 sec)

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

    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)
        lazyCacheControl = result
      }
      return result
    }
    
    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/Request.kt

    import kotlin.reflect.cast
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.internal.canonicalUrl
    import okhttp3.internal.commonAddHeader
    import okhttp3.internal.commonCacheControl
    import okhttp3.internal.commonDelete
    import okhttp3.internal.commonEmptyRequestBody
    import okhttp3.internal.commonGet
    import okhttp3.internal.commonHead
    import okhttp3.internal.commonHeader
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

      get() =
        when (code) {
          HTTP_PERM_REDIRECT, HTTP_TEMP_REDIRECT, HTTP_MULT_CHOICE, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_SEE_OTHER -> true
          else -> false
        }
    
    val Response.commonCacheControl: CacheControl
      get() {
        var result = lazyCacheControl
        if (result == null) {
          result = CacheControl.parse(headers)
          lazyCacheControl = result
        }
        return result
      }
    
    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 java.net.HttpURLConnection.HTTP_UNAUTHORIZED
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.internal.commonAddHeader
    import okhttp3.internal.commonBody
    import okhttp3.internal.commonCacheControl
    import okhttp3.internal.commonCacheResponse
    import okhttp3.internal.commonClose
    import okhttp3.internal.commonCode
    import okhttp3.internal.commonEmptyResponse
    import okhttp3.internal.commonHeader
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top