Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 402 for callEnd (0.17 sec)

  1. 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 May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""responseBodyStart"""))
          .assertLogMatch(Regex("""responseBodyEnd: byteCount=6"""))
          .assertLogMatch(Regex("""connectionReleased"""))
          .assertLogMatch(Regex("""callEnd"""))
          .assertNoMoreLogs()
      }
    
      @Test
      fun post() {
        assumeNotWindows()
        server.enqueue(MockResponse())
        client.newCall(request().post("Hello!".toRequestBody(PLAIN)).build()).execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     * `dnsStart(call, domainName)` → `dnsEnd(call, domainName, inetAddressList)`.
     *
     * Events are typically nested with this structure:
     *
     *  * call ([callStart], [callEnd], [callFailed])
     *    * proxy selection ([proxySelectStart], [proxySelectEnd])
     *    * dns ([dnsStart], [dnsEnd])
     *    * connect ([connectStart], [connectEnd], [connectFailed])
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

            "ConnectionAcquired", "RequestHeadersStart", "RequestHeadersEnd", "ResponseHeadersStart",
            "ResponseHeadersEnd", "ResponseBodyStart", "ResponseBodyEnd", "ConnectionReleased",
            "CallEnd",
          ),
          eventListener.recordedEventTypes(),
        )
    
        eventListener.clearAllEvents()
    
        client.newCall(request).execute().use { response ->
          assertEquals(200, response.code)
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/DuplexTest.kt

    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

          }
        }
    
        val result = timeoutExit(e)
        if (e != null) {
          eventListener.callFailed(this, result!!)
        } else {
          eventListener.callEnd(this)
        }
        return result
      }
    
      /**
       * Remove this call from the connection's list of allocations. Returns a socket that the caller
       * should close.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

        }
    
        override fun secureConnectEnd(
          call: Call,
          handshake: Handshake?,
        ) {
          logger.removeHandler(loggerHandler)
        }
    
        override fun callEnd(call: Call) {
          // Cleanup log handler if failed.
          logger.removeHandler(loggerHandler)
        }
    
        override fun connectionAcquired(
          call: Call,
          connection: Connection,
        ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  8. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

              call: Call,
              byteCount: Long,
            ) = TODO()
    
            override fun responseFailed(
              call: Call,
              ioe: IOException,
            ) = TODO()
    
            override fun callEnd(call: Call) = TODO()
    
            override fun callFailed(
              call: Call,
              ioe: IOException,
            ) = TODO()
    
            override fun canceled(call: Call) = TODO()
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         * cancelled.
         */
        @CheckForNull Executor delegate;
    
        /**
         * Set before calling delegate.execute(); set to null once run, so that it can be GCed; this
         * object may live on after, if submitAsync returns an incomplete future.
         */
        @CheckForNull Runnable task;
    
        /** Thread that called execute(). Set in execute, cleared when delegate.execute() returns. */
        @CheckForNull @LazyInit Thread submitting;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      /**
       * Any interruption that happens as a result of calling interruptTask will arrive before this
       * method is called. Complete Futures here.
       */
      abstract void afterRanInterruptiblySuccess(@ParametricNullness T result);
    
      /**
       * Any interruption that happens as a result of calling interruptTask will arrive before this
       * method is called. Complete Futures here.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top