Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Cookie (0.04 sec)

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

        )
        val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER)
        val cookie = HttpCookie("c", "cookie")
        cookie.domain = server.hostName
        cookie.path = "/"
        val portList = server.port.toString()
        cookie.portlist = portList
        cookieManager.cookieStore.add(server.url("/").toUri(), cookie)
        client =
          client.newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        server.enqueue(
          MockResponse.Builder()
            .addHeader("Set-Cookie: a=FIRST")
            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Cache-Control: max-age=0")
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Set-Cookie: a=SECOND")
            .code(HttpURLConnection.HTTP_NOT_MODIFIED)
            .build(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val callReference = AtomicReference<Call>()
    
        class DisconnectingCookieJar : CookieJar {
          override fun saveFromResponse(
            url: HttpUrl,
            cookies: List<Cookie>,
          ) {}
    
          override fun loadForRequest(url: HttpUrl): List<Cookie> {
            callReference.get().cancel()
            return emptyList()
          }
        }
        client =
          client.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    Lokhttp3/CipherSuite$Companion$ORDER_BY_NAME$1;
    Lokhttp3/CipherSuite$Companion;
    Lokhttp3/CipherSuite;
    Lokhttp3/Connection;
    Lokhttp3/ConnectionPool;
    Lokhttp3/ConnectionSpec$Builder;
    Lokhttp3/ConnectionSpec;
    Lokhttp3/Cookie;
    Lokhttp3/CookieJar$Companion$NoCookies;
    Lokhttp3/CookieJar;
    Lokhttp3/Dispatcher;
    Lokhttp3/Dns$Companion$DnsSystem;
    Lokhttp3/Dns;
    Lokhttp3/EventListener$Companion$NONE$1;
    Lokhttp3/EventListener$Factory;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * <p>
     * Wildcard expressions will not filter workgroup names or server names.
     *
     * <blockquote><pre>
     * winnt> ls c?o*
     * clock.avi                  -rw--      82944 Mon Oct 14 1996 1:38 AM
     * Cookies                    drw--          0 Fri Nov 13 1998 9:42 PM
     * 2 items in 5ms
     * </pre></blockquote>
     *
     * @param wildcard a wildcard expression
     * @throws SmbException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top