Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stateless (0.18 sec)

  1. docs/changelogs/changelog_3x.md

        pools.
    
     *  **OkHttpClient is now stateless.** In the 2.x API `OkHttpClient` had getters
        and setters. Internally each request was forced to make its own complete
        snapshot of the `OkHttpClient` instance to defend against racy configuration
        changes. In 3.x, `OkHttpClient` is now stateless and has a builder. Note
        that this class is not strictly immutable as it has stateful members like
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * }
     * ```
     *
     * This technique works even better in situations where a stale response is better than no response.
     * To permit stale cached responses, use the `max-stale` directive with the maximum staleness in
     * seconds:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder()
     *         .maxStale(365, TimeUnit.DAYS)
     *         .build())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top