Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for sentRequestAtMillis (0.12 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        open fun trailers(trailersSource: TrailersSource): Builder =
          apply {
            this.trailersSource = trailersSource
          }
    
        open fun sentRequestAtMillis(sentRequestAtMillis: Long) =
          apply {
            this.sentRequestAtMillis = sentRequestAtMillis
          }
    
        open fun receivedResponseAtMillis(receivedResponseAtMillis: Long) =
          apply {
            this.receivedResponseAtMillis = receivedResponseAtMillis
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

            val response =
              cacheResponse
                .newBuilder()
                .headers(combine(cacheResponse.headers, networkResponse.headers))
                .sentRequestAtMillis(networkResponse.sentRequestAtMillis)
                .receivedResponseAtMillis(networkResponse.receivedResponseAtMillis)
                .cacheResponse(cacheResponse.stripBody())
                .networkResponse(networkResponse.stripBody())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

              invokeStartEvent = false
            }
          }
          var response =
            responseBuilder
              .request(request)
              .handshake(exchange.connection.handshake())
              .sentRequestAtMillis(sentRequestMillis)
              .receivedResponseAtMillis(System.currentTimeMillis())
              .build()
          var code = response.code
    
          while (shouldIgnoreAndWaitForRealResponse(code)) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          this.code = response.code
          this.message = response.message
          this.responseHeaders = response.headers
          this.handshake = response.handshake
          this.sentRequestMillis = response.sentRequestAtMillis
          this.receivedResponseMillis = response.receivedResponseAtMillis
        }
    
        @Throws(IOException::class)
        fun writeTo(editor: DiskLruCache.Editor) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val priorResponse: Response? = response.priorResponse
        val challenges: List<Challenge> = response.challenges()
        val cacheControl: CacheControl = response.cacheControl
        val sentRequestAtMillis: Long = response.sentRequestAtMillis
        val receivedResponseAtMillis: Long = response.receivedResponseAtMillis
      }
    
      @Test
      fun responseBuilder() {
        var builder: Response.Builder = Response.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        private fun isFreshnessLifetimeHeuristic(): Boolean = cacheResponse!!.cacheControl.maxAgeSeconds == -1 && expires == null
    
        init {
          if (cacheResponse != null) {
            this.sentRequestMillis = cacheResponse.sentRequestAtMillis
            this.receivedResponseMillis = cacheResponse.receivedResponseAtMillis
            val headers = cacheResponse.headers
            for (i in 0 until headers.size) {
              val fieldName = headers.name(i)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

            .Builder()
            .request(proxyConnectRequest)
            .protocol(Protocol.HTTP_1_1)
            .code(HttpURLConnection.HTTP_PROXY_AUTH)
            .message("Preemptive Authenticate")
            .sentRequestAtMillis(-1L)
            .receivedResponseAtMillis(-1L)
            .header("Proxy-Authenticate", "OkHttp-Preemptive")
            .build()
    
        val authenticatedRequest =
          route.address.proxyAuthenticator
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. okhttp/api/jvm/okhttp.api

    	public final fun priorResponse ()Lokhttp3/Response;
    	public final fun protocol ()Lokhttp3/Protocol;
    	public final fun receivedResponseAtMillis ()J
    	public final fun request ()Lokhttp3/Request;
    	public final fun sentRequestAtMillis ()J
    	public final fun socket ()Lokio/Socket;
    	public fun toString ()Ljava/lang/String;
    	public final fun trailers ()Lokhttp3/Headers;
    }
    
    public class okhttp3/Response$Builder {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  9. okhttp/api/android/okhttp.api

    	public final fun priorResponse ()Lokhttp3/Response;
    	public final fun protocol ()Lokhttp3/Protocol;
    	public final fun receivedResponseAtMillis ()J
    	public final fun request ()Lokhttp3/Request;
    	public final fun sentRequestAtMillis ()J
    	public final fun socket ()Lokio/Socket;
    	public fun toString ()Ljava/lang/String;
    	public final fun trailers ()Lokhttp3/Headers;
    }
    
    public class okhttp3/Response$Builder {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top