Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Director (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/Cache.kt

        cache.close()
      }
    
      @get:JvmName("directory")
      val directory: File
        get() = cache.directory.toFile()
    
      @get:JvmName("directoryPath")
      val directoryPath: Path
        get() = cache.directory
    
      @JvmName("-deprecated_directory")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "directory"),
        level = DeprecationLevel.ERROR,
      )
    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)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

        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
      val files =
        try {
          list(directory)
        } catch (fnfe: FileNotFoundException) {
          return
        }
      for (file in files) {
        try {
          if (metadata(file).isDirectory) {
    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)
  3. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val certificatePinner: CertificatePinner? = address.certificatePinner()
      }
    
      @Test @Disabled
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        val directory: File = cache.directory()
      }
    
      @Test @Disabled
      fun cacheControl() {
        val cacheControl: CacheControl = CacheControl.Builder().build()
        val noCache: Boolean = cacheControl.noCache()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val writeSuccessCount: Int = cache.writeSuccessCount()
        val size: Long = cache.size()
        val maxSize: Long = cache.maxSize()
        cache.flush()
        cache.close()
        val directory: File = cache.directory
        val networkCount: Int = cache.networkCount()
        val hitCount: Int = cache.hitCount()
        val requestCount: Int = cache.requestCount()
      }
    
      @Test
      fun cacheControl() {
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * bytes in length.
     *
     * The cache stores its data in a directory on the filesystem. This directory must be exclusive to
     * the cache; the cache may delete or overwrite files from its directory. It is an error for
     * multiple processes to use the same cache directory at the same time.
     *
     * This cache limits the number of bytes that it will store on the filesystem. When the number of
    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)
  6. docs/recipes.md

    To cache responses, you'll need a cache directory that you can read and write to, and a limit on the cache's size. The cache directory should be private, and untrusted applications should not be able to read its contents!
    
    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)
  7. docs/changelogs/upgrading_to_okhttp_4.md

     * **Address**: certificatePinner, connectionSpecs, dns, hostnameVerifier, protocols, proxy,
       proxyAuthenticator, proxySelector, socketFactory, sslSocketFactory, url
     * **Cache**: directory
     * **CacheControl**: immutable, maxAgeSeconds, maxStaleSeconds, minFreshSeconds, mustRevalidate,
       noCache, noStore, noTransform, onlyIfCached, sMaxAgeSeconds
     * **Challenge**: authParams, charset, realm, scheme
    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)
  8. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    dev.static.land dev.vu development.run devices.resinstaging.io df.gov.br df.leg.br dgca.aero dh.bytemark.co.uk dhl diadem.cloud diamonds dielddanuorri.no diet digick.jp digital dinosaur.museum direct direct.quickconnect.cn direct.quickconnect.to directory discordsays.com discordsez.com discount discourse.group discourse.team discover discovery.museum dish diskstation.eu diskstation.me diskstation.org diskussionsbereich.de ditchyourip.com divtasvuodna.no divttasvuotna.no diy dj dk dk.eu.org dlugoleka.pl...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
Back to top