Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for bolete (0.33 sec)

  1. docs/changelogs/changelog_4x.md

     *  Fix: Reliably update and invalidate the disk cache on windows. As originally designed our
        internal `DiskLruCache` assumes an inode-like file system, where it's fine to delete files that
        are currently being read or written. On Windows the file system forbids this so we must be more
        careful when deleting and renaming files.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cache.kt

      fun initialize() {
        cache.initialize()
      }
    
      /**
       * Closes the cache and deletes all of its stored values. This will delete all files in the cache
       * directory including files that weren't created by the cache.
       */
      @Throws(IOException::class)
      fun delete() {
        cache.delete()
      }
    
      /**
       * Deletes all values stored in the cache. In-flight writes to the cache will complete normally,
    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)
  3. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

              assertNull(it.networkResponse)
            }
    
          assertEquals(1, cache.hitCount())
          assertEquals(1, cache.networkCount())
          assertEquals(2, cache.requestCount())
        } finally {
          cache.delete()
        }
      }
    
      private fun OkHttpClient.get(url: String) {
        val request = Request.Builder().url(url).build()
        val response = this.newCall(request).execute()
    
        response.use {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      }
      delete(file)
      return false
    }
    
    /** Delete file we expect but don't require to exist. */
    internal fun FileSystem.deleteIfExists(path: Path) {
      try {
        delete(path)
      } catch (fnfe: FileNotFoundException) {
        return
      }
    }
    
    /** Tolerant delete, try to clear as many files as possible even after a failure. */
    internal fun FileSystem.deleteContents(directory: Path) {
      var exception: IOException? = null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestTest.kt

        assertThat(head.method).isEqualTo("HEAD")
        assertThat(head.body).isNull()
    
        val delete = Request.Builder().url("http://localhost/api").delete().build()
        assertThat(delete.method).isEqualTo("DELETE")
        assertThat(delete.body!!.contentLength()).isEqualTo(0L)
    
        val post = Request.Builder().url("http://localhost/api").post(body).build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Request.kt

        open fun get(): Builder = commonGet()
    
        open fun head(): Builder = commonHead()
    
        open fun post(body: RequestBody): Builder = commonPost(body)
    
        @JvmOverloads
        open fun delete(body: RequestBody? = commonEmptyRequestBody): Builder = commonDelete(body)
    
        open fun put(body: RequestBody): Builder = commonPut(body)
    
        open fun patch(body: RequestBody): Builder = commonPatch(body)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

        thankful to Adrian Cole who has helped us to reach this milestone.
    
     *  **RC4 cipher suites are no longer supported by default.** To connect to
        old, obsolete servers relying on these cipher suites, you must create a
        custom `ConnectionSpec`.
    
     *  **Beta WebSockets support.**. The `okhttp-ws` subproject offers a new
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.cacheControl(CacheControl.FORCE_CACHE)
        builder = builder.get()
        builder = builder.head()
        builder = builder.post(requestBody)
        builder = builder.delete(requestBody)
        builder = builder.delete(null)
        builder = builder.put(requestBody)
        builder = builder.patch(requestBody)
        builder = builder.method("", requestBody)
        builder = builder.method("", null)
    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)
  9. CHANGELOG.md

        immutable. This is left over from OkHttp 2.x (!) when that class was mutable. We're using the
        5.x upgrade as an opportunity to remove very obsolete APIs.
     *  Fix: Recover gracefully when Android's `NativeCrypto` crashes with `"ssl == null"`. This occurs
        when OkHttp retrieves ALPN state on a closed connection.
     *  Upgrade: [Kotlin 1.6.21][kotlin_1_6_21].
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cookie.kt

       * end of the current session.
       *
       * This may return a value less than the current time, in which case the cookie is already
       * expired. Webservers may return expired cookies as a mechanism to delete previously set cookies
       * that may or may not themselves be expired.
       */
      @get:JvmName("expiresAt") val expiresAt: Long,
      /**
    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)
Back to top