- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for toString (0.18 sec)
-
okhttp-android/build.gradle.kts
} } compileOptions { targetCompatibility(JavaVersion.VERSION_11) sourceCompatibility(JavaVersion.VERSION_11) } kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } } dependencies { api(libs.squareup.okio) api(projects.okhttp) api(projects.loggingInterceptor) compileOnly(libs.androidx.annotation) compileOnly(libs.findbugs.jsr305)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 11:07:32 GMT 2024 - 2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
) } } return response } internal fun redactUrl(url: HttpUrl): String { if (queryParamsNameToRedact.isEmpty() || url.querySize == 0) { return url.toString() } return url.newBuilder().query(null).apply { for (i in 0 until url.querySize) { val parameterName = url.queryParameterName(i)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 11.2K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
fun openSocket(): Socket = Socket("localhost", port) @Synchronized override fun close() { executor.shutdown() socket?.closeQuietly() serverSocket?.closeQuietly() } override fun toString(): String = "MockHttp2Peer[$port]" private class OutFrame( val sequence: Int, val start: Long, val truncated: Boolean, )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 8.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
} Unit } if (noNewExchangesEvent) { connectionListener.noNewExchanges(this) } } override fun protocol(): Protocol = protocol!! override fun toString(): String { return "Connection{${route.address.url.host}:${route.address.url.port}," + " proxy=${route.proxy}" + " hostAddress=${route.socketAddress}" +
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 15.4K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
_2021-11-21_ * Fix: Don't fail HTTP/2 responses if they complete before a `RST_STREAM` is sent. ## Version 4.9.2 _2021-09-30_ * Fix: Don't include potentially-sensitive header values in `Headers.toString()` or exceptions. This applies to `Authorization`, `Cookie`, `Proxy-Authorization`, and `Set-Cookie` headers. * Fix: Don't crash with an `InaccessibleObjectException` when running on JDK17+ with strong
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) -
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
Proxy.NO_PROXY, InetSocketAddress(ipv4Address, 1003), ).toString(), ).isEqualTo("1.2.3.4:1003") assertThat( Route( factory.newAddress(uriHost = "example.com", uriPort = 1003), Proxy.NO_PROXY, InetSocketAddress(ipv4Address, 1003), ).toString(), ).isEqualTo("example.com at 1.2.3.4:1003") assertThat( Route(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 20.8K bytes - Viewed (0) -
build.gradle.kts
dependencies { testRuntimeOnly(rootProject.libs.openjsse) } } tasks.withType<JavaCompile> { sourceCompatibility = JavaVersion.VERSION_1_8.toString() targetCompatibility = JavaVersion.VERSION_1_8.toString() } } // Opt-in to @ExperimentalOkHttpApi everywhere. subprojects { plugins.withId("org.jetbrains.kotlin.jvm") { kotlinExtension.sourceSets.configureEach {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:32:42 GMT 2024 - 8.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Request.kt
@Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "cacheControl"), level = DeprecationLevel.ERROR, ) fun cacheControl(): CacheControl = cacheControl override fun toString(): String = commonToString() open class Builder { internal var url: HttpUrl? = null internal var method: String internal var headers: Headers.Builder internal var body: RequestBody? = null
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) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
} @Throws(IOException::class) fun writeTo(editor: DiskLruCache.Editor) { editor.newSink(ENTRY_METADATA).buffer().use { sink -> sink.writeUtf8(url.toString()).writeByte('\n'.code) sink.writeUtf8(requestMethod).writeByte('\n'.code) sink.writeDecimalLong(varyHeaders.size.toLong()).writeByte('\n'.code) for (i in 0 until varyHeaders.size) {
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) -
container-tests/build.gradle.kts
tasks.withType<Test> { useJUnitPlatform() onlyIf("By default not in CI") { System.getenv("CI") == null || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean()) } jvmArgs( "-Dokhttp.platform=$platform", ) if (platform == "loom") { jvmArgs( "-Djdk.tracePinnedThreads=short", ) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 17 14:46:34 GMT 2024 - 1.1K bytes - Viewed (0)