Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for persistent (1.24 sec)

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

      )
      fun value(): String = value
    
      @JvmName("-deprecated_persistent")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "persistent"),
        level = DeprecationLevel.ERROR,
      )
      fun persistent(): Boolean = persistent
    
      @JvmName("-deprecated_expiresAt")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "expiresAt"),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        ).isEqualTo(3000L)
      }
    
      @Test fun maxAgeOrExpiresMakesCookiePersistent() {
        assertThat(parseCookie(0L, url, "a=b")!!.persistent).isFalse()
        assertThat(parseCookie(0L, url, "a=b; Max-Age=1")!!.persistent).isTrue()
        assertThat(parseCookie(0L, url, "a=b; Expires=Thu, 01 Jan 1970 00:00:01 GMT")!!.persistent)
          .isTrue()
      }
    
      @Test fun parseAll() {
        val headers =
          Headers
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

     */
    enum class Protocol(
      private val protocol: String,
    ) {
      /**
       * An obsolete plaintext framing that does not use persistent sockets by default.
       */
      HTTP_1_0("http/1.0"),
    
      /**
       * A plaintext framing that includes persistent connections.
       *
       * This version of OkHttp implements [RFC 7230][rfc_7230], and tracks revisions to that spec.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

      }
    
      @Test @Disabled
      fun cookie() {
        val cookie: Cookie = Cookie.Builder().build()
        val name: String = cookie.name()
        val value: String = cookie.value()
        val persistent: Boolean = cookie.persistent()
        val expiresAt: Long = cookie.expiresAt()
        val hostOnly: Boolean = cookie.hostOnly()
        val domain: String = cookie.domain()
        val path: String = cookie.path()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Cache.java

    import java.util.Map;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A semi-persistent mapping from keys to values. Cache entries are manually added using {@link
     * #get(Object, Callable)} or {@link #put(Object, Object)}, and are stored in the cache until either
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. docs/works_with_okhttp.md

     * [Okurl](https://github.com/yschimke/okurl/wiki) A curl-like client for social networks and other APIs.
     * [PersistentCookieJar](https://github.com/franmontiel/PersistentCookieJar): A persistent `CookieJar`.
     * ⬜️ [Picasso](https://github.com/square/picasso): A powerful image downloading and caching library for Android.
     * ⬜️ [Retrofit](https://github.com/square/retrofit): Type-safe HTTP client for Android and Java by Square.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

     * **Challenge**: authParams, charset, realm, scheme
     * **CipherSuite**: javaName
     * **ConnectionSpec**: cipherSuites, supportsTlsExtensions, tlsVersions
     * **Cookie**: domain, expiresAt, hostOnly, httpOnly, name, path, persistent, value
     * **Dispatcher**: executorService
     * **FormBody**: size
     * **Handshake**: cipherSuite, localCertificates, localPrincipal, peerCertificates, peerPrincipal,
       tlsVersion
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        }
        return builder.build()
      }
    
      fun close() {
        val okHttpClient = client as OkHttpClient
        okHttpClient.connectionPool.evictAll() // Close any persistent connections.
        okHttpClient.dispatcher.executorService.shutdownNow()
      }
    
      companion object {
        internal const val NAME = "okcurl"
        internal const val DEFAULT_TIMEOUT = -1
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

        }
      }
    
      /**
       * Returns a hash function implementing FarmHash's Fingerprint64, an open-source algorithm.
       *
       * <p>This is designed for generating persistent fingerprints of strings. It isn't
       * cryptographically secure, but it produces a high-quality hash with fewer collisions than some
       * alternatives we've used in the past.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun cookie() {
        val cookie: Cookie = Cookie.Builder().build()
        val name: String = cookie.name
        val value: String = cookie.value
        val persistent: Boolean = cookie.persistent
        val expiresAt: Long = cookie.expiresAt
        val hostOnly: Boolean = cookie.hostOnly
        val domain: String = cookie.domain
        val path: String = cookie.path
        val httpOnly: Boolean = cookie.httpOnly
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
Back to top