Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for expiresDate (0.45 sec)

  1. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertThat(parseCookie(50000L, url, "a=b; Max-Age=1")!!.expiresAt).isEqualTo(51000L)
        assertThat(parseCookie(50000L, url, "a=b; Max-Age=9223372036854724")!!.expiresAt)
          .isEqualTo(MAX_DATE)
        assertThat(parseCookie(50000L, url, "a=b; Max-Age=9223372036854725")!!.expiresAt)
          .isEqualTo(MAX_DATE)
        assertThat(parseCookie(50000L, url, "a=b; Max-Age=9223372036854726")!!.expiresAt)
          .isEqualTo(MAX_DATE)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cookie.kt

            this.value = value
          }
    
        fun expiresAt(expiresAt: Long) =
          apply {
            var expiresAt = expiresAt
            if (expiresAt <= 0L) expiresAt = Long.MIN_VALUE
            if (expiresAt > MAX_DATE) expiresAt = MAX_DATE
            this.expiresAt = expiresAt
            this.persistent = true
          }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

      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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/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
        val secure: Boolean = cookie.secure
    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)
  5. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/Cookie {
    	public static final field Companion Lokhttp3/Cookie$Companion;
    	public final fun -deprecated_domain ()Ljava/lang/String;
    	public final fun -deprecated_expiresAt ()J
    	public final fun -deprecated_hostOnly ()Z
    	public final fun -deprecated_httpOnly ()Z
    	public final fun -deprecated_name ()Ljava/lang/String;
    	public final fun -deprecated_path ()Ljava/lang/String;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  6. 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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
Back to top