Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for Available (0.37 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * space-sensitive applications should set a conservative limit.
     *
     * Clients call [edit] to create or update the values of an entry. An entry may have only one editor
     * at one time; if a value is not available to be edited then [edit] will return null.
     *
     *  * When an entry is being **created** it is necessary to supply a full set of values; the empty
     *    value should be used as a placeholder if necessary.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        commitEditor.commit()
        assertValue("c", "c", "c")
        abortEditor.abort()
        cache.close()
        createNewCache()
    
        // Although 'c' successfully committed above, the journal wasn't available to issue a CLEAN op.
        // Because the last state of 'c' was DIRTY before the journal failed, it should be removed
        // entirely on a subsequent open.
        assertThat(cache.size()).isEqualTo(4)
        assertAbsent("c")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

          MockResponse.Builder()
            .body("a")
            .build(),
        )
        val url = server.url("/a")
        assertThat(get(url).body.string()).isEqualTo("a")
    
        // The URL will remain available if hasNext() returned true...
        val i = cache.urls()
        assertThat(i.hasNext()).isTrue()
    
        // ...so even when we evict the element, we still get something back.
        cache.evictAll()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp/src/main/resources/META-INF/proguard/okhttp3.pro

    # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    # OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
    -dontwarn okhttp3.internal.platform.**
    -dontwarn org.conscrypt.**
    -dontwarn org.bouncycastle.**
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 682 bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

          super.buildTrustRootIndex(trustManager)
        }
    
      override fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> {
        // The superclass implementation requires APIs not available until API 24+.
        if (Build.VERSION.SDK_INT < 24) return listOf()
        return super.getHandshakeServerNames(sslSocket)
      }
    
      /**
       * A trust manager for Android applications that customize the trust manager.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

          return Response.Builder()
            .protocol(protocol)
            .code(statusLine.code)
            .message(statusLine.message)
            .headers(headersBuilder.build())
            .trailers { error("trailers not available") }
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. LICENSE.txt

          not limited to compiled object code, generated documentation,
          and conversions to other media types.
    
          "Work" shall mean the work of authorship, whether in Source or
          Object form, made available under the License, as indicated by a
          copyright notice that is included in or attached to the work
          (an example is provided in the Appendix below).
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jul 23 14:02:28 GMT 2012
    - 11.1K bytes
    - Viewed (0)
  8. docs/changelogs/upgrading_to_okhttp_4.md

    
    SAM Conversions
    ---------------
    
    When you use Java APIs from Kotlin you can operate on Java interfaces as if they were Kotlin
    lambdas. The [feature][java_sams] is available for interfaces that define a Single Abstract Method
    (SAM).
    
    But when you use Kotlin APIs from Kotlin there’s no automatic conversion. Code that used SAM lambdas
    with OkHttp 3.x: must use `object :` with OkHttp 4.x:
    
    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)
  9. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

            CipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,
            // Note that the following cipher suites are all on HTTP/2's bad cipher suites list. We'll
            // continue to include them until better suites are commonly available.
            CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
            CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
            CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256,
            CipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
Back to top