Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for builderClampsMaxDate (0.08 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        }
      }
    
      @Test fun builderValueValidation() {
        assertFailsWith<IllegalArgumentException> {
          Cookie.Builder().value(" b ")
        }
      }
    
      @Test fun builderClampsMaxDate() {
        val cookie =
          Cookie
            .Builder()
            .name("a")
            .value("b")
            .hostOnlyDomain("example.com")
            .expiresAt(Long.MAX_VALUE)
            .build()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
Back to Top