Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for Change (0.48 sec)

  1. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

        /**
         * This type is syntactically identical to "multipart/mixed", but the semantics are different.
         * In particular, in a digest, the default `Content-Type` value for a body part is changed from
         * "text/plain" to "message/rfc822".
         */
        @JvmField
        val DIGEST = "multipart/digest".toMediaType()
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

    import okhttp3.internal.platform.Platform
    
    /**
     * Example of using a hardware key to perform client auth.
     * Prefer recent JDK builds, and results are temperamental to slight environment changes.
     * Different instructions and configuration may be required for other hardware devices.
     *
     * Using a yubikey device as a SSL key store.
     * https://lauri.võsandi.com/2017/03/yubikey-for-ssh-auth.html
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cache.kt

     *
     * Sometimes a request will result in a conditional cache hit. If the cache contains a stale copy of
     * the response, the client will issue a conditional `GET`. The server will then send either
     * the updated response if it has changed, or a short 'not modified' response if the client's copy
     * is still valid. Such responses increment both the network count and hit count.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

    import java.util.Deque
    import okio.Buffer
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    class ServerSentEventIteratorTest {
      /** Either [Event] or [Long] items for events and retry changes, respectively.  */
      private val callbacks: Deque<Any> = ArrayDeque()
    
      @AfterEach
      fun after() {
        assertThat(callbacks).isEmpty()
      }
    
      @Test
      fun multiline() {
        consumeEvents(
          """
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        // Do blocking calls to plan a route for a new connection.
        val connect = planConnect()
    
        // Now that we have a set of IP addresses, make another attempt at getting a connection from
        // the pool. We have a better chance of matching thanks to connection coalescing.
        val pooled2 = planReusePooledConnection(connect, connect.routes)
        if (pooled2 != null) return pooled2
    
        return connect
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        private val sources: List<Source>,
        private val lengths: LongArray,
      ) : Closeable {
        fun key(): String = key
    
        /**
         * Returns an editor for this snapshot's entry, or null if either the entry has changed since
         * this snapshot was created or if another edit is in progress.
         */
        @Throws(IOException::class)
        fun edit(): Editor? = ******@****.***(key, sequenceNumber)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Headers.kt

        @JvmStatic
        @JvmName("of")
        fun headersOf(vararg namesAndValues: String): Headers = commonHeadersOf(*namesAndValues)
    
        @JvmName("-deprecated_of")
        @Deprecated(
          message = "function name changed",
          replaceWith = ReplaceWith(expression = "headersOf(*namesAndValues)"),
          level = DeprecationLevel.ERROR,
        )
        fun of(vararg namesAndValues: String): Headers {
          return headersOf(*namesAndValues)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

       */
      @Test
      fun reusePlanAndNewConnectRace() {
        val plan0 = routePlanner.addPlan()
        plan0.tcpConnectDelayNanos = 250.ms
        plan0.yieldBeforeTcpConnectReturns = true // Yield so we get a chance to take plan1...
        val plan1 = routePlanner.addPlan()
        plan1.connectState = TLS_CONNECTED
        plan1.yieldBeforePlanReturns = true // ... but let plan 0 connect before we act upon it.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        assertThat(taskFaker.executeCallCount).isEqualTo(1)
      }
    
      @Test fun noMoreThanOneWorkerThreadWaitingToStartAtATime() {
        // Enqueueing the red task starts a thread because the head of the queue changed.
        redQueue.execute("red task") {
          log += "red:starting@${taskFaker.nanoTime}"
          taskFaker.sleep(100.µs)
          log += "red:finishing@${taskFaker.nanoTime}"
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertThat(cookie!!.domain).isEqualTo("::1")
      }
    
      /**
       * These public suffixes were selected by inspecting the publicsuffix.org list. It's possible they
       * may change in the future. If this test begins to fail, please double check they are still
       * present in the public suffix list.
       */
      @Test fun domainIsPublicSuffix() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top