- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for files (0.15 sec)
-
docs/changelogs/changelog_4x.md
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. * Fix: Don't crash on Java 8u252 which introduces an API previously found only on Java 9 and
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
this.journalFile = directory / JOURNAL_FILE this.journalFileTmp = directory / JOURNAL_FILE_TEMP this.journalFileBackup = directory / JOURNAL_FILE_BACKUP } @Synchronized @Throws(IOException::class) fun initialize() { this.assertThreadHoldsLock() if (initialized) { return // Already initialized. } // If a bkp file exists, use it instead.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt
val gist = gistJsonAdapter.fromJson(response.body!!.source()) for ((key, value) in gist!!.files!!) { println(key) println(value.content) } } } @JsonClass(generateAdapter = true) data class Gist(var files: Map<String, GistFile>?) @JsonClass(generateAdapter = true) data class GistFile(var content: String?) } fun main() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.6K bytes - Viewed (1) -
okhttp/build.gradle.kts
the task as up-to-date, because these two files, which are based on the generated index.xml, are outputs, not inputs. We can be sure of this because they are deleted in the @BeforeEach method of the OsgiTest test class. - To enable the benefit of incremental builds, we can ask Gradle to ignore these two files when considering whether the classpath
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Jan 04 05:32:07 GMT 2024 - 5.6K bytes - Viewed (0) -
docs/features/https.md
println(response.body!!.string()) } } /** * Returns an input stream containing one or more certificate PEM files. This implementation just * embeds the PEM files in Java strings; most applications will instead read this from a resource * file that gets bundled with the application. */ private fun trustedCertificatesInputStream(): InputStream {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Dec 24 00:16:30 GMT 2022 - 10.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/EventListener.kt
* * All event methods must execute fast, without external locking, cannot throw exceptions, attempt * to mutate the event parameters, or be re-entrant back into the client. Any IO - writing to files * or network should be done asynchronously. */ abstract class EventListener { /** * Invoked as soon as a call is enqueued or executed by a client. In case of thread or stream
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.2K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
changing `.java` files. * **Kotlin source compatibility** is the ability to upgrade Kotlin uses of OkHttp 3.x to 4.x without changing `.kt` files. With a few small exceptions (below), OkHttp 4.x is both binary- and Java source-compatible with OkHttp 3.x. You can use an OkHttp 4.x .jar file with applications or libraries built for OkHttp 3.x.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Viewed (0) -
LICENSE.txt
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jul 23 14:02:28 GMT 2012 - 11.1K bytes - Viewed (0) -
.gitignore
bin gen build out lib generated target pom.xml.* release.properties local.properties .idea *.iml *.ipr *.iws *.log classes obj .DS_Store # Special Mkdocs files docs/4.x docs/changelog.md docs/contributing.md docs/index.md # jenv /.java-version /site/
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Dec 10 11:52:12 GMT 2022 - 337 bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
flushHeaders = false, ) val out = stream.getSink().buffer() for (file in files) { val target = if (file.isDirectory) file.name + "/" else file.name out.writeUtf8("<a href='$target'>$target</a><br>") } out.close() } private fun serveFile( stream: Http2Stream, file: File, ) { val responseHeaders = listOf( Header(":status", "200"),
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.1K bytes - Viewed (0)