- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for LoggingFilesystem (0.05 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/okio/LoggingFilesystem.kt
* limitations under the License. */ package okhttp3.okio import okio.FileSystem import okio.ForwardingFileSystem import okio.Path import okio.Sink import okio.Source class LoggingFilesystem( fileSystem: FileSystem, ) : ForwardingFileSystem(fileSystem) { fun log(line: String) { println(line) } override fun appendingSink( file: Path, mustExist: Boolean, ): Sink {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
private val server = MockWebServer() @BeforeEach fun setUp() { platform.assumeNotOpenJSSE() server.protocolNegotiationEnabled = false val loggingFileSystem = LoggingFilesystem(fileSystem) cache = buildCache("/cache/".toPath(), Int.MAX_VALUE.toLong(), loggingFileSystem) client = clientTestRule .newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
@Test fun testPublicPathConstructor() { val events: MutableList<String> = ArrayList() fileSystem.createDirectories(cache.directoryPath) fileSystem.createDirectories(cache.directoryPath) val loggingFileSystem: FileSystem = object : ForwardingFileSystem(fileSystem) { override fun onPathParameter( path: Path, functionName: String, parameterName: String,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
import okhttp3.internal.http.HTTP_EARLY_HINTS import okhttp3.internal.http.HTTP_PROCESSING import okhttp3.internal.http.RecordingProxySelector import okhttp3.java.net.cookiejar.JavaNetCookieJar import okhttp3.okio.LoggingFilesystem import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import okio.Buffer import okio.BufferedSink
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0)