Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 802 for callEnd (0.18 sec)

  1. docs/features/events.md

          long callId = nextCallId.getAndIncrement();
          System.out.printf("%04d %s%n", callId, call.request().url());
          return new PrintingEventListener(callId, System.nanoTime());
        }
      };
    
      final long callId;
      final long callStartNanos;
    
      public PrintingEventListener(long callId, long callStartNanos) {
        this.callId = callId;
        this.callStartNanos = callStartNanos;
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  2. docs/features/caching.md

    document's age at the time it was served based on "Last-Modified". Default expiration dates aren't used for URIs 
    containing a query.
    
     - CallStart
     - **CacheHit**
     - CallEnd
     
    ### Cache Miss
    
    Under a cache miss the normal request events are seen but an additional event shows the presence of the cache.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

    import mockwebserver3.SocketPolicy.DisconnectDuringRequestBody
    import mockwebserver3.SocketPolicy.DisconnectDuringResponseBody
    import mockwebserver3.SocketPolicy.FailHandshake
    import okhttp3.CallEvent.CallEnd
    import okhttp3.CallEvent.CallFailed
    import okhttp3.CallEvent.CallStart
    import okhttp3.CallEvent.ConnectStart
    import okhttp3.CallEvent.ConnectionAcquired
    import okhttp3.CallEvent.DnsEnd
    import okhttp3.CallEvent.DnsStart
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

              addAll(listOf("ConnectStart", "ConnectEnd"))
            }
            addAll(listOf("ConnectionAcquired", "ConnectionReleased", "CallEnd"))
          }
    
        assertThat(events2).isEqualTo(expectedEvents2)
      }
    
      private fun isConnectionEvent(it: CallEvent?) =
        it is CallStart ||
          it is CallEnd ||
          it is ConnectStart ||
          it is ConnectEnd ||
          it is ConnectionAcquired ||
          it is ConnectionReleased ||
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        call: Call,
        ioe: IOException,
      ) {
        logWithTime("responseFailed: $ioe")
    
        delegate.responseFailed(call, ioe)
      }
    
      override fun callEnd(call: Call) {
        logWithTime("callEnd")
    
        delegate.callEnd(call)
      }
    
      override fun callFailed(
        call: Call,
        ioe: IOException,
      ) {
        logWithTime("callFailed: $ioe")
    
        delegate.callFailed(call, ioe)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

            long callId = nextCallId.getAndIncrement();
            System.out.printf("%04d %s%n", callId, call.request().url());
            return new PrintingEventListener(callId, System.nanoTime());
          }
        };
    
        final long callId;
        final long callStartNanos;
    
        PrintingEventListener(long callId, long callStartNanos) {
          this.callId = callId;
          this.callStartNanos = callStartNanos;
        }
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  7. regression-test/README.md

    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyEnd: byteCount=128
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] connectionReleased
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] callEnd
    01-01 12:53:32.816 10999 11090 D OkHttp  : [54 ms] responseHeadersStart
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Nov 13 07:09:56 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

      override fun responseFailed(
        call: Call,
        ioe: IOException,
      ) = logEvent(ResponseFailed(System.nanoTime(), call, ioe))
    
      override fun callEnd(call: Call) = logEvent(CallEnd(System.nanoTime(), call))
    
      override fun callFailed(
        call: Call,
        ioe: IOException,
      ) = logEvent(CallFailed(System.nanoTime(), call, ioe))
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9K bytes
    - Viewed (1)
  9. android-test/README.md

    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyEnd: byteCount=128
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] connectionReleased
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] callEnd
    01-01 12:53:32.816 10999 11090 D OkHttp  : [54 ms] responseHeadersStart
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

      }
    
      override fun responseFailed(
        call: Call,
        ioe: IOException,
      ) {
        logWithTime("responseFailed: $ioe")
      }
    
      override fun callEnd(call: Call) {
        logWithTime("callEnd")
      }
    
      override fun callFailed(
        call: Call,
        ioe: IOException,
      ) {
        logWithTime("callFailed: $ioe")
      }
    
      override fun canceled(call: Call) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top