{"site":"project_search","repo":"okhttp","task":"네트워크 연결 시 도메인 이름이나 IP 주소를 기반으로 인증서가 유효한지 검증하는 로직을 찾고 있어요. 호스트 형식이 IP인지 일반 호스트네임인지에 따라 분기 처리하는 부분을 확인하고 싶습니다.","query":"verify certificate host","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt","symbol":"verify","line":53,"lang":"ko","candidates":[{"text":"File: docs/features/connections.md\nLine 12: …tographic algorithms should be used. Nor do they specify how to verify the peer's certificates (the [HostnameVerifier](https://developer.android.com/reference/javax/net/ssl/HostnameVerifier.html)) or which certificates can be trusted (the [SSLSocketFactory…","file":"docs/features/connections.md","line":12,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 1018: HSPLokhttp3/internal/tls/OkHostnameVerifier;->verify(Ljava/lang/String;Ljava/security/cert/X509Certificate;)Z","file":"okhttp/src/androidMain/baseline-prof.txt","line":1018,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 369: // Verify that the socket's certificates are acceptable for the target host.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":369,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 266: OkHostnameVerifier.verify(url.host, peerCertificates[0] as X509Certificate)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":266,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt\nLine 47: verify(host, session.peerCertificates[0] as X509Certificate)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt","line":47,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt\nLine 58: host.canParseAsIpAddress() -> verifyIpAddress(host, certificate)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt","line":58,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt\nLine 59: else -> verifyHostname(host, certificate)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt","line":59,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Preciso adicionar uma resposta simulada ao servidor para que a próxima requisição receba esse resultado esperado. Isso é parte da configuração do teste para simular o comportamento da API.","query":"enqueue mock response","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt","symbol":"enqueue","line":147,"lang":"pt","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/AndroidDnsTest.kt\nLine 59: server.enqueue(MockResponse(body = \"hello\"))","file":"android-test/src/androidTest/java/okhttp/android/test/AndroidDnsTest.kt","line":59,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 394: server.enqueue(MockResponse())","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":394,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 535: server.enqueue(MockResponse(body = \"abc\"))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":535,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 564: server.enqueue(MockResponse(body = \"abc\"))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":564,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 596: server.enqueue(MockResponse(body = \"abc\"))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":596,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 619: server.enqueue(MockResponse(body = \"abc1\"))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":619,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 620: server.enqueue(MockResponse(body = \"abc2\"))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":620,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 722: server.enqueue(MockResponse(body = \"abc1\"))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":722,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 723: server.enqueue(MockResponse(body = \"abc2\"))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":723,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 805: server.enqueue(MockResponse(body = \"abc\"))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":805,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 1025: server.enqueue(MockResponse(body = \"abc\"))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":1025,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 1051: server.enqueue(MockResponse(body = \"abc\", headers = Headers.headersOf(\"cache-control\", \"public, max-age=3\")))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":1051,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 1052: server.enqueue(MockResponse(body = \"abc\"))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":1052,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt\nLine 50: server.enqueue(MockResponse())","file":"android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt","line":50,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt\nLine 68: server.enqueue(MockResponse())","file":"android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt","line":68,"lexical":0.44999999999999996,"target":false},{"text":"File: maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java\nLine 33: mockWebServer.enqueue(new MockResponse(200, Headers.of(), \"Hello, Maven!\"));","file":"maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java","line":33,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 75: public final fun enqueue (Lokhttp3/mockwebserver/MockResponse;)V","file":"mockwebserver-deprecated/api/mockwebserver.api","line":75,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 124: public final fun enqueueResponse (Lokhttp3/mockwebserver/MockResponse;)V","file":"mockwebserver-deprecated/api/mockwebserver.api","line":124,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt\nLine 147: fun enqueue(response: MockResponse) {","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt","line":147,"lexical":0.65,"target":true},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt\nLine 28: fun enqueueResponse(response: MockResponse) {","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt","line":28,"lexical":0.55,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt\nLine 131: mockWebServer.enqueue(MockResponse())","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt","line":131,"lexical":0.55,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt\nLine 160: queueDispatcher.enqueueResponse(MockResponse())","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt","line":160,"lexical":0.55,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 158: server.enqueue(MockResponse().setBody(\"hello world\"))","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":158,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 182: server.enqueue(MockResponse().setBody(\"This is the new location!\"))","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":182,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 204: server.enqueue(MockResponse().setBody(\"enqueued in the background\"))","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":204,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 237: server.enqueue(MockResponse().setBody(\"DEF\"))","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":237,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 266: server.enqueue(MockResponse()) // The jdk's HttpUrlConnection is a bastard.","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":266,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 267: server.enqueue(MockResponse())","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":267,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 354: server.enqueue(MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_DURING_REQUEST_BODY))","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":354,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 505: server.enqueue(MockResponse().setBody(\"hello world\"))","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":505,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 527: server.enqueue(MockResponse().setSocketPolicy(SocketPolicy.SHUTDOWN_SERVER_AFTER_RESPONSE))","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":527,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 541: server.enqueue(MockResponse().setBody(\"response\"))","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":541,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"경로 구성 요소의 개수를 반환하는 기존 메서드가 프로퍼티로 변경되었는데, 이걸 어떻게 찾아내지?","query":"pathSize deprecated","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","symbol":"pathSize","line":855,"lang":"ko","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 718: public final fun -deprecated_pathSize ()I","file":"okhttp/api/android/okhttp.api","line":718,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 718: public final fun -deprecated_pathSize ()I","file":"okhttp/api/jvm/okhttp.api","line":718,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 855: @JvmName(\"-deprecated_pathSize\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":855,"lexical":0.39999999999999997,"target":true}]} {"site":"project_search","repo":"okhttp","task":"サーバーの証明書検証を無効化して例外を投げる処理を探して","query":"throw CertificateException unsupported","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt","symbol":"checkServerTrusted","line":67,"lang":"ja","candidates":[{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt\nLine 65: ) = throw CertificateException(\"Unsupported operation\")","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt","line":65,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt\nLine 70: ) = throw CertificateException(\"Unsupported operation\")","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt","line":70,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt\nLine 63: ) = throw CertificateException(\"Unsupported operation\")","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt","line":63,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt\nLine 68: ) = throw CertificateException(\"Unsupported operation\")","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt","line":68,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt\nLine 74: ) = throw CertificateException(\"Unsupported operation\")","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt","line":74,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt\nLine 80: ) = throw CertificateException(\"Unsupported operation\")","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt","line":80,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"añadir o reemplazar un par clave valor","query":"headers set value","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt","symbol":"set","line":318,"lang":"es","candidates":[{"text":"File: docs/recipes.md\nLine 125: When writing request headers, use `header(name, value)` to set the only occurrence of `name` to `value`. If there are existing values, they will be removed before the new value is added. Use `addHeader(name, value)` to add a header without removing the hea…","file":"docs/recipes.md","line":125,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt\nLine 722: val cookieStrings = headers.values(\"Set-Cookie\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt","line":722,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 248: * Sets the header named [name] to [value]. If this request already has any headers","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":248,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 418: * Sets the header named [name] to [value]. If this request already has any headers","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":418,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 163: assertThat(LinkedHashSet(requestHeaders.values(\"D\"))).isEqualTo(newSet(\"e\", \"f\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":163,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 164: assertThat(LinkedHashSet(requestHeaders.values(\"d\"))).isEqualTo(newSet(\"e\", \"f\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":164,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 202: assertThat(LinkedHashSet(responseHeaders.values(\"A\"))).isEqualTo(newSet(\"c\", \"e\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":202,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 203: assertThat(LinkedHashSet(responseHeaders.values(\"a\"))).isEqualTo(newSet(\"c\", \"e\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":203,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"帮我找一下那个专门用来模拟并测试缓存数据损坏情况的逻辑,它应该是在设置了特定的过期响应头之后,通过传入一个自定义动作来触发损坏流程的。","query":"corrupt cache test","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt","symbol":"testCorruptingCache","line":155,"lang":"zh","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt\nLine 46: class CacheCorruptionTest {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt","line":46,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt\nLine 91: testCorruptingCache {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt","line":91,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt\nLine 109: testCorruptingCache {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt","line":109,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt\nLine 124: testCorruptingCache {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt","line":124,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt\nLine 155: private fun testCorruptingCache(corruptor: () -> Unit): Response {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt","line":155,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"로그에 민감한 정보가 포함된 쿼리 파라미터를 가릴 때, 다른 파라미터들이 유실되지 않고 그대로 유지되는지 확인하는 테스트 코드를 찾고 있어. 대소문자 구분 없이 마스킹이 적용되는지 검증하는 로직이 포함되어 있는지 봐줘.","query":"redact query params","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","symbol":"preserveQueryParamsAfterRedacted","line":1021,"lang":"ko","candidates":[{"text":"File: CHANGELOG.md\nLine 443: * New: `HttpLoggingInterceptor.redactQueryParams()` configures the query parameters to redact","file":"CHANGELOG.md","line":443,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/api/logging-interceptor.api\nLine 11: public final fun redactQueryParams ([Ljava/lang/String;)V","file":"okhttp-logging-interceptor/api/logging-interceptor.api","line":11,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 50: @Volatile private var queryParamsNameToRedact = emptySet()","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":50,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 138: fun redactQueryParams(vararg name: String) {","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":138,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 139: val newQueryParamsNameToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER)","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":139,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 140: newQueryParamsNameToRedact += queryParamsNameToRedact","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":140,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 141: newQueryParamsNameToRedact.addAll(name)","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":141,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 142: queryParamsNameToRedact = newQueryParamsNameToRedact","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":142,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 334: if (queryParamsNameToRedact.isEmpty() || url.querySize == 0) {","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":334,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 343: val newValue = if (parameterName in queryParamsNameToRedact) \"██\" else url.queryParameterValue(i)","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":343,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 977: fun sensitiveQueryParamsAreRedacted() {","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":977,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 983: networkInterceptor.redactQueryParams(\"user\", \"passWord\")","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":983,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 989: applicationInterceptor.redactQueryParams(\"user\", \"PassworD\")","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":989,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 1022: fun preserveQueryParamsAfterRedacted() {","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":1022,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 1036: networkInterceptor.redactQueryParams(\"user\", \"passWord\")","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":1036,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 1042: applicationInterceptor.redactQueryParams(\"user\", \"PassworD\")","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":1042,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Como criar e inicializar um novo DiskLruCache com um tamanho máximo específico?","query":"create disk cache","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","symbol":"createNewCacheWithSize","line":80,"lang":"pt","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 427: * CacheInterceptor writes it to disk. This creates the bug condition: url.isHttps=true","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":427,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 403: createJournalWithHeader(DiskLruCache.MAGIC, \"0\", \"100\", \"2\", \"\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":403,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 412: createJournalWithHeader(DiskLruCache.MAGIC, \"1\", \"101\", \"2\", \"\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":412,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 421: createJournalWithHeader(DiskLruCache.MAGIC, \"1\", \"100\", \"1\", \"\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":421,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 430: createJournalWithHeader(DiskLruCache.MAGIC, \"1\", \"100\", \"2\", \"x\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":430,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Pourquoi cette méthode renvoie-t-elle un objet de headers vide par défaut ?","query":"peek empty headers","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt","symbol":"peek","line":41,"lang":"fr","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt\nLine 41: override fun peek() = Headers.EMPTY","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt","line":41,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 563: assertThat(stream.peekTrailers()).isEqualTo(Headers.EMPTY)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":563,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 812: assertThat(stream.peekTrailers()).isEqualTo(Headers.EMPTY)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":812,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"In-memory 소켓 쌍을 생성하여 상호 연결된 클라이언트와 서버 소켓이 포함된 배열을 반환하는 메서드를 찾아주세요. 이 기능은 테스트용 네트워크 환경에서 실제 네트워크 연결 없이도 소켓 통신을 시뮬레이션하기 위한 것 같습니다.","query":"socket pair","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetworkTesting.kt","symbol":"socketPair","line":21,"lang":"ko","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeConnection.kt\nLine 50: // Destroy the unencrypted socket pair; we'll build a new encrypted one to replace it.","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeConnection.kt","line":50,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt\nLine 35: import okio.inMemorySocketPair","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt","line":35,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt\nLine 242: val (clientSocket, serverSocket) = inMemorySocketPair(maxBufferSize = 1024 * 1024)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt","line":242,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetworkTesting.kt\nLine 18: import okio.inMemorySocketPair","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetworkTesting.kt","line":18,"lexical":0.5,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetworkTesting.kt\nLine 21: internal fun FakeNetwork.socketPair(): Array {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetworkTesting.kt","line":21,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetworkTesting.kt\nLine 22: val (clientOkioSocket, serverOkioSocket) = inMemorySocketPair(maxBufferSize = 1024 * 1024)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetworkTesting.kt","line":22,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 364: * It's made complicated by how [okio.inMemorySocketPair] handles asynchronous cancellation.","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":364,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/InsecureHandshaker.kt\nLine 23: import okio.inMemorySocketPair","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/InsecureHandshaker.kt","line":23,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/InsecureHandshaker.kt\nLine 66: val (clientSocket, serverSocket) = inMemorySocketPair(maxBufferSize = 1024 * 1024)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/InsecureHandshaker.kt","line":66,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 65: val (clientSocket, serverSocket) = network.socketPair()","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":65,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 94: val (clientSocket, serverSocket) = network.socketPair()","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":94,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 144: val (clientSocket, serverSocket) = network.socketPair()","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":144,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 181: val (clientSocket, _) = network.socketPair()","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":181,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 197: val (clientSocket, serverSocket) = network.socketPair()","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":197,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 217: val (clientSocket, _) = network.socketPair()","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":217,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 237: val (_, serverSocket) = network.socketPair()","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":237,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 253: val (_, serverSocket) = network.socketPair()","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":253,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 273: val (clientSocket, serverSocket) = network.socketPair()","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":273,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 48: import okio.inMemorySocketPair","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":48,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 61: private val sockets = inMemorySocketPair(8192L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":61,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"find the class that implements the websocket interface and manages frame callbacks","query":"websocket frame callback","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","symbol":"RealWebSocket","line":55,"lang":"en","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 71: WebSocketReader.FrameCallback,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":71,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt\nLine 213: object : WebSocketReader.FrameCallback {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt","line":213,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"crie um teste para validar falha ao receber cabeçalho muito grande mesmo comprimido","query":"large compressed header","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt","symbol":"largeCompressedResponseHeader","line":88,"lang":"pt","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt\nLine 87: /** Use a header that is large even when it is compressed. */","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt","line":87,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt\nLine 89: fun largeCompressedResponseHeader() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt","line":89,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"verificar se o evento é de início de dns e se a chamada e o nome de domínio correspondem","query":"calls dns start","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","symbol":"closes","line":78,"lang":"pt","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt\nLine 355: // CallStart, ProxySelectStart, ProxySelectEnd, DnsStart, DnsEnd, ConnectStart, SecureConnectStart,","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt","line":355,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt\nLine 359: // CallStart, ProxySelectStart, ProxySelectEnd, DnsStart, DnsEnd, ConnectStart, SecureConnectStart,","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt","line":359,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt\nLine 362: // CallStart, ProxySelectStart, ProxySelectEnd, DnsStart, DnsEnd, ConnectStart, SecureConnectStart,","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt","line":362,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"implement callback für fehlgeschlagene netzwerkanfragen","query":"onFailure IOException","file":"samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java","symbol":"onFailure","line":36,"lang":"de","candidates":[{"text":"File: docs/changelogs/changelog_2x.md\nLine 480: * **API Change**: Use `IOException` in `Callback.onFailure()`. This is","file":"docs/changelogs/changelog_2x.md","line":480,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 73: override fun onFailure(call: Call, e: IOException) {","file":"docs/recipes.md","line":73,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 101: @Override public void onFailure(Call call, IOException e) {","file":"docs/recipes.md","line":101,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt\nLine 93: listener.onFailure(this, IOException(\"canceled\"), response)","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt","line":93,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 142: public abstract fun onFailure (Lokhttp3/Call;Ljava/io/IOException;)V","file":"okhttp/api/android/okhttp.api","line":142,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 494: public abstract fun onFailure (Lokhttp3/Dns$Call;Ljava/io/IOException;)V","file":"okhttp/api/android/okhttp.api","line":494,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 142: public abstract fun onFailure (Lokhttp3/Call;Ljava/io/IOException;)V","file":"okhttp/api/jvm/okhttp.api","line":142,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 494: public abstract fun onFailure (Lokhttp3/Dns$Call;Ljava/io/IOException;)V","file":"okhttp/api/jvm/okhttp.api","line":494,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 655: HSPLokhttp3/JvmCallExtensionsKt$executeAsync$2$2;->onFailure(Lokhttp3/Call;Ljava/io/IOException;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":655,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt\nLine 224: callback.onFailure(IOException(\"HTTPS query failed with code ${e.code}\", e))","file":"okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt","line":224,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt\nLine 243: callback.onFailure(IOException(e))","file":"okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt","line":243,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 80: * public void onFailure(Call call, IOException e) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":80,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 574: responseCallback.onFailure(this@RealCall, ioException)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":574,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt\nLine 102: callback.onFailure(this, IOException(\"canceled\"))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt","line":102,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt\nLine 134: override fun onFailure(e: IOException) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt","line":134,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/DnsQuery.kt\nLine 35: fun onFailure(e: IOException)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/DnsQuery.kt","line":35,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt\nLine 50: State.Canceled -> callback.onFailure(this, IOException(\"canceled\"))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt","line":50,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt\nLine 56: (previous as? State.Running)?.callback?.onFailure(this, IOException(\"canceled\"))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt","line":56,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt\nLine 196: callback!!.onFailure(IOException(\"canceled\"))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt","line":196,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt\nLine 244: override fun onFailure(e: IOException) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt","line":244,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTester.kt\nLine 308: callback.onFailure(IOException(message))","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTester.kt","line":308,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java\nLine 36: @Override public void onFailure(Call call, IOException e) {","file":"samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java","line":36,"lexical":0.39999999999999997,"target":true},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java\nLine 46: @Override public void onFailure(Call call, IOException e) {","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","line":46,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java\nLine 61: @Override public void onFailure(Call call, IOException e) {","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","line":61,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"SSLSoCKET가 이 어댑터의 소켓 유형과 일치하는지 확인하는 함수는 무엇인가요?","query":"matchesSocket sslSocket","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/SocketAdapter.kt","symbol":"matchesSocket","line":29,"lang":"ko","candidates":[{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt\nLine 59: assertTrue(adapter.matchesSocket(sslSocket))","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt","line":59,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt\nLine 90: assertFalse(adapter.matchesSocket(sslSocket))","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt","line":90,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 996: HSPLokhttp3/internal/platform/android/Android10SocketAdapter;->matchesSocket(Ljavax/net/ssl/SSLSocket;)Z","file":"okhttp/src/androidMain/baseline-prof.txt","line":996,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt\nLine 66: .find { it.matchesSocketFactory(sslSocketFactory) }","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt","line":66,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt\nLine 89: .find { it.matchesSocket(sslSocket) }","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt","line":89,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt\nLine 106: socketAdapters.find { it.matchesSocket(sslSocket) }?.getSelectedProtocol(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt","line":106,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt\nLine 90: .find { it.matchesSocketFactory(sslSocketFactory) }","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt","line":90,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt\nLine 101: .find { it.matchesSocket(sslSocket) }","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt","line":101,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt\nLine 107: socketAdapters.find { it.matchesSocket(sslSocket) }?.getSelectedProtocol(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt","line":107,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt\nLine 38: override fun matchesSocket(sslSocket: SSLSocket): Boolean = SSLSockets.isSupportedSocket(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt","line":38,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android17SocketAdapter.kt\nLine 43: override fun matchesSocket(sslSocket: SSLSocket): Boolean = SSLSockets.isSupportedSocket(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android17SocketAdapter.kt","line":43,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt\nLine 46: override fun matchesSocket(sslSocket: SSLSocket): Boolean = sslSocketClass.isInstance(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt","line":46,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt\nLine 55: if (matchesSocket(sslSocket)) {","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt","line":55,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt\nLine 81: if (!matchesSocket(sslSocket)) {","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt","line":81,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt\nLine 127: override fun matchesSocket(sslSocket: SSLSocket): Boolean = sslSocket.javaClass.name.startsWith(\"$packageName.\")","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt","line":127,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt\nLine 28: override fun matchesSocket(sslSocket: SSLSocket): Boolean = sslSocket is BCSSLSocket","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt","line":28,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt\nLine 48: if (matchesSocket(sslSocket)) {","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt","line":48,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt\nLine 63: override fun matchesSocket(sslSocket: SSLSocket): Boolean = isSupported && sslSocket is BCSSLSocket","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt","line":63,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt\nLine 29: override fun matchesSocket(sslSocket: SSLSocket): Boolean = Conscrypt.isConscrypt(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt","line":29,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt\nLine 35: matchesSocket(sslSocket) -> Conscrypt.getApplicationProtocol(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt","line":35,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt\nLine 46: if (matchesSocket(sslSocket)) {","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt","line":46,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt\nLine 59: override fun matchesSocket(sslSocket: SSLSocket): Boolean = isSupported && Conscrypt.isConscrypt(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt","line":59,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt\nLine 37: override fun matchesSocket(sslSocket: SSLSocket): Boolean = socketAdapterFactory.matchesSocket(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt","line":37,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt\nLine 51: if (this.delegate == null && socketAdapterFactory.matchesSocket(sslSocket)) {","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt","line":51,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt\nLine 59: fun matchesSocket(sslSocket: SSLSocket): Boolean","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt","line":59,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/SocketAdapter.kt\nLine 29: fun matchesSocket(sslSocket: SSLSocket): Boolean","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/SocketAdapter.kt","line":29,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/SocketAdapter.kt\nLine 31: fun matchesSocketFactory(sslSocketFactory: SSLSocketFactory): Boolean = false","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/SocketAdapter.kt","line":31,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt\nLine 36: override fun matchesSocketFactory(sslSocketFactory: SSLSocketFactory): Boolean = sslSocketFactoryClass.isInstance(sslSocketFactory)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt","line":36,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Como limpar todos os eventos registrados na sequência?","query":"clear all events","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt","symbol":"clearAllEvents","line":107,"lang":"pt","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 653: eventRecorder.clearAllEvents()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":653,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt\nLine 877: .also { eventRecorder.clearAllEvents() }","file":"okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt","line":877,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt\nLine 117: fun clearAllEvents() {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt","line":117,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt\nLine 107: fun clearAllEvents() {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt","line":107,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1727: eventRecorder.clearAllEvents()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1727,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1755: eventRecorder.clearAllEvents()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1755,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 752: eventRecorder.clearAllEvents()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":752,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 1182: eventRecorder.clearAllEvents()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":1182,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 1262: eventRecorder.clearAllEvents()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":1262,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 1783: eventRecorder.clearAllEvents()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":1783,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 2178: eventRecorder.clearAllEvents()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":2178,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 2229: eventRecorder.clearAllEvents()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":2229,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 2299: eventRecorder.clearAllEvents()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":2299,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt\nLine 240: eventRecorder.clearAllEvents()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt","line":240,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"リクエストを返した後にクローズ状態を管理できる、テスト用のディスパッチャの実装はどこにありますか?","query":"closable dispatcher","file":"mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt","symbol":"ClosableDispatcher","line":112,"lang":"ja","candidates":[{"text":"File: mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt\nLine 31: private val dispatcherA = ClosableDispatcher()","file":"mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt","line":31,"lexical":0.39999999999999997,"target":true},{"text":"File: mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt\nLine 38: private val dispatcherB = ClosableDispatcher()","file":"mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt","line":38,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt\nLine 46: private val dispatcherC = ClosableDispatcher()","file":"mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt","line":46,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt\nLine 68: private val dispatcherD = ClosableDispatcher()","file":"mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt","line":68,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt\nLine 76: private val dispatcherE = ClosableDispatcher()","file":"mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt","line":76,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt\nLine 84: private val dispatcherF = ClosableDispatcher()","file":"mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt","line":84,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt\nLine 112: class ClosableDispatcher : Dispatcher() {","file":"mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt","line":112,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"find the regex for the maven repository directory","query":"maven repo pattern","file":"maven-tests/mvnw","symbol":"_MVNW_REPO_PATTERN","line":133,"lang":"en","candidates":[{"text":"File: maven-tests/mvnw\nLine 119: MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/","file":"maven-tests/mvnw","line":119,"lexical":0.55,"target":true},{"text":"File: maven-tests/mvnw\nLine 132: maven-mvnd-*) MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/ ;;","file":"maven-tests/mvnw","line":132,"lexical":0.55,"target":false},{"text":"File: maven-tests/mvnw\nLine 133: *) MVN_CMD=\"mvn${0##*/mvnw}\" _MVNW_REPO_PATTERN=/org/apache/maven/ ;;","file":"maven-tests/mvnw","line":133,"lexical":0.55,"target":false},{"text":"File: maven-tests/mvnw.cmd\nLine 76: $MVNW_REPO_PATTERN = if ($USE_MVND) { \"/org/apache/maven/\" } else { \"/maven/mvnd/\" }","file":"maven-tests/mvnw.cmd","line":76,"lexical":0.55,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Je travaille sur les tests de la couche de transport HTTP/2. Peux-tu me montrer comment est simulée l'envoi d'une trame de promesse de poussée avec des en-têtes spécifiques ?","query":"push promise test","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","symbol":"pushPromise","line":169,"lang":"fr","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 392: @Test fun pushPromiseStream() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":392,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 426: @Test fun doublePushPromise() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":426,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 445: @Test fun pushPromiseStreamsAutomaticallyCancel() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":445,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 169: @Test fun pushPromise() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":169,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 207: @Test fun pushPromiseThenContinuation() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":207,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"I'm seeing issues when trying to simulate an OAuth flow using a local mock server to capture authorization state and callbacks. Can you find the component that handles starting the local server and generating the redirect URLs with state tokens?","query":"mock oauth server","file":"samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java","symbol":"OAuthSessionFactory","line":36,"lang":"en","candidates":[{"text":"File: samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java\nLine 31: * Runs a MockWebServer on localhost and uses it as the backend to receive an OAuth session.","file":"samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java","line":31,"lexical":0.65,"target":true},{"text":"File: samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java\nLine 75: return mockWebServer.url(\"/oauth/\");","file":"samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java","line":75,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Quero criar um método de construção fluente para definir o código de status da resposta HTTP, permitindo encadear chamadas. O método deve atualizar o campo de código interno e retornar a própria instância para facilitar o fluxo de construção.","query":"response code builder","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","symbol":"code","line":402,"lang":"pt","candidates":[{"text":"File: mockwebserver/api/mockwebserver3.api\nLine 61: public final fun code (I)Lmockwebserver3/MockResponse$Builder;","file":"mockwebserver/api/mockwebserver3.api","line":61,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt\nLine 106: val builder = MockResponse.Builder().code(i)","file":"mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt","line":106,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1262: public fun code (I)Lokhttp3/Response$Builder;","file":"okhttp/api/android/okhttp.api","line":1262,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1261: public fun code (I)Lokhttp3/Response$Builder;","file":"okhttp/api/jvm/okhttp.api","line":1261,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 922: HSPLokhttp3/internal/http2/Http2ExchangeCodec;->readResponseHeaders(Z)Lokhttp3/Response$Builder;","file":"okhttp/src/androidMain/baseline-prof.txt","line":922,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt\nLine 107: return if (expectContinue && responseBuilder.code == HTTP_CONTINUE) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt","line":107,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 237: MockResponse.Builder().code(401).build(),","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":237,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 1025: MockResponse.Builder().onRequestStart(CloseStream(errorCode!!.httpCode)).build(),","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":1025,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 1241: MockResponse.Builder().onRequestStart(CloseStream(errorCode!!.httpCode)).build(),","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":1241,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"查找处理流优先级设置但尚未实现逻辑的代码","query":"stream priority","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","symbol":"priority","line":883,"lang":"zh","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt\nLine 175: TYPE_PRIORITY, TYPE_RST_STREAM, TYPE_GOAWAY, TYPE_WINDOW_UPDATE -> return BINARY[flags]","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt","line":175,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt\nLine 128: TYPE_PRIORITY -> readPriority(handler, length, flags, streamId)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt","line":128,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt\nLine 155: readPriority(handler, streamId)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt","line":155,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt\nLine 213: if (streamId == 0) throw IOException(\"TYPE_PRIORITY streamId == 0\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt","line":213,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt\nLine 214: readPriority(handler, streamId)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt","line":214,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt\nLine 226: handler.priority(streamId, streamDependency, weight, exclusive)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt","line":226,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt\nLine 525: * Called when reading a headers or priority frame. This may be used to change the stream's","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt","line":525,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt\nLine 528: * @param streamId stream which has a priority change.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt","line":528,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 95: * a part of the response to `streamId`. The `promisedStreamId` has a priority of one greater than","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":95,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt\nLine 142: \"END_STREAM|PRIORITY\",","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt","line":142,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt\nLine 146: \"END_STREAM|END_HEADERS|PRIORITY\",","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt","line":146,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt\nLine 150: \"END_STREAM|PRIORITY|PADDED\",","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt","line":150,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt\nLine 154: \"END_STREAM|END_HEADERS|PRIORITY|PADDED\",","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt","line":154,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"ejecuta el ejemplo de petición síncrona","query":"synchronous get","file":"samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java","symbol":"main","line":44,"lang":"es","candidates":[{"text":"File: docs/features/calls.md\nLine 44: * **Asynchronous:** you enqueue the request on any thread, and get [called back](https://lysine.dev/okhttp/5.x/okhttp/okhttp3/-callback/) on another thread when the response is readable.","file":"docs/features/calls.md","line":44,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 11: ### Synchronous Get ([.kt][SynchronousGetKotlin], [.java][SynchronousGetJava])","file":"docs/recipes.md","line":11,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 59: ### Asynchronous Get ([.kt][AsynchronousGetKotlin], [.java][AsynchronousGetJava])","file":"docs/recipes.md","line":59,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 61: Download a file on a worker thread, and get called back when the response is readable. The callback is made after the response headers are ready. Reading the response body may still block. OkHttp doesn't currently offer asynchronous APIs to receive a respo…","file":"docs/recipes.md","line":61,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1154: [SynchronousGetJava]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java","file":"docs/recipes.md","line":1154,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1155: [SynchronousGetKotlin]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt","file":"docs/recipes.md","line":1155,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1156: [AsynchronousGetJava]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java","file":"docs/recipes.md","line":1156,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1157: [AsynchronousGetKotlin]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt","file":"docs/recipes.md","line":1157,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 348: executeSynchronously(getRequest)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":348,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 376: executeSynchronously(getRequest)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":376,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java\nLine 27: public final class AsynchronousGet {","file":"samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java","line":27,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java\nLine 56: new AsynchronousGet().run();","file":"samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java","line":56,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java\nLine 24: public final class SynchronousGet {","file":"samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java","line":24,"lexical":0.6000000000000001,"target":true},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java\nLine 45: new SynchronousGet().run();","file":"samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java","line":45,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt\nLine 25: class AsynchronousGet {","file":"samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt","line":25,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt\nLine 64: AsynchronousGet().run()","file":"samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt","line":64,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt\nLine 22: class SynchronousGet {","file":"samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt","line":22,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt\nLine 45: SynchronousGet().run()","file":"samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt","line":45,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"trouve le point d'entrée qui lance l'exemple d'annulation de requête","query":"cancel call main","file":"samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt","symbol":"main","line":64,"lang":"fr","candidates":[{"text":"File: docs/recipes.md\nLine 1174: [CancelCallJava]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/CancelCall.java","file":"docs/recipes.md","line":1174,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 1175: [CancelCallKotlin]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt","file":"docs/recipes.md","line":1175,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Prüfen, ob die Methode zur Abfrage der Trailer-Header eine leere Liste zurückgibt, wenn diese bei der Erstellung der Antwort nicht explizit gesetzt wurden.","query":"response trailers empty","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt","symbol":"testEmptyByDefaultIfTrailersNotSet","line":32,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 184: * Returns the trailers after the HTTP response, which may be empty. This blocks until the","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":184,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt\nLine 35: /** Returns true if the response body and (possibly empty) trailers have been received. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt","line":35,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt\nLine 75: /** Returns the trailers after the HTTP response if they're ready. May be empty. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt","line":75,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 433: responseBodyComplete(trailers = Headers.EMPTY)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":433,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 455: responseBodyComplete(trailers = Headers.EMPTY)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":455,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 559: responseBodyComplete(trailers = Headers.EMPTY)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":559,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt\nLine 36: assertThat(response.trailers()).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt","line":36,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 106: fun trailersEmptyResponseBodyHttp1() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":106,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 107: trailersEmptyResponseBody(Protocol.HTTP_1_1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":107,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 111: fun trailersEmptyResponseBodyHttp2() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":111,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 112: trailersEmptyResponseBody(Protocol.HTTP_2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":112,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 115: private fun trailersEmptyResponseBody(protocol: Protocol) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":115,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 332: fun readEmptyTrailersHttp1EmptyFixedLengthResponse() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":332,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 343: assertThat(response.trailers()).isEqualTo(Headers.EMPTY)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":343,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 348: fun readEmptyTrailersHttp1NonEmptyFixedLengthResponse() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":348,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 359: assertThat(response.trailers()).isEqualTo(Headers.EMPTY)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":359,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 364: fun readEmptyTrailersHttp1UnknownLengthResponse() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":364,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 378: assertThat(response.trailers()).isEqualTo(Headers.EMPTY)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":378,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"suche die prüfung für den abgleich von gesendeten datenpaketen mit erwarteten bytefolgen","query":"assert data byte","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt","symbol":"assertData","line":310,"lang":"de","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 186: assertArrayEquals(\"abcde\".toByteArray(), data1.data)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":186,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 190: assertArrayEquals(\"fghi\".toByteArray(), data2.data)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":190,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 269: assertArrayEquals(\"abcdef\".toByteArray(), data1.data)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":269,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 545: assertArrayEquals(\"c3po\".toByteArray(), requestData.data)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":545,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 731: assertArrayEquals(\"abcdefghi\".toByteArray(), data1.data)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":731,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 854: assertArrayEquals(\"c3po\".toByteArray(), requestData.data)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":854,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1190: assertArrayEquals(\"square\".toByteArray(), data.data)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1190,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1382: assertArrayEquals(\"abcdef\".toByteArray(), data1.data)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1382,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1652: assertArrayEquals(\"abcdefghij\".toByteArray(), data.data)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1652,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 681: assertThat(sendGoAway(0, expectedError, expectedData.toByteArray())).isEqualTo(frame)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":681,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt\nLine 45: private fun assertRoundTrip(data: ByteString) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt","line":45,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt\nLine 51: assertEquals(data, decodeBuffer.readByteString())","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt","line":51,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt\nLine 51: assertThat(data.readByteString().hex(), \"Data not empty\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt","line":51,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt\nLine 150: assertData(\"827e\") // 'e' == 4-byte follow-up length.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt","line":150,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt\nLine 151: assertData(format(\"%04X\", payload.completeSegmentByteCount()))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt","line":151,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt\nLine 152: assertData(payload.readByteString())","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt","line":152,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt\nLine 164: assertData(\"827f\") // 'f' == 16-byte follow-up length.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt","line":164,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt\nLine 166: assertData(payload.readByteString())","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt","line":166,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt\nLine 310: private fun assertData(expected: ByteString) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt","line":310,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"查找通过时间戳设置请求头的方法","query":"set header instant","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt","symbol":"set","line":299,"lang":"zh","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 695: public final fun set (Ljava/lang/String;Ljava/time/Instant;)Lokhttp3/Headers$Builder;","file":"okhttp/api/android/okhttp.api","line":695,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 695: public final fun set (Ljava/lang/String;Ljava/time/Instant;)Lokhttp3/Headers$Builder;","file":"okhttp/api/jvm/okhttp.api","line":695,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"HTTPレスポンスのヘッダー情報を取得して出力するサンプルコードにおいて、特定のヘッダー(Varyなど)が複数存在する場合の取得方法を確認したい。現在の実装がマルチバリューのヘッダーを正しく扱えているか検証が必要。","query":"print response headers","file":"samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt","symbol":"AccessHeaders","line":22,"lang":"ja","candidates":[{"text":"File: docs/recipes.md\nLine 13: Download a file, print its headers, and print its response body as a string.","file":"docs/recipes.md","line":13,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 51: System.out.println(responseHeaders.name(i) + \": \" + responseHeaders.value(i));","file":"docs/recipes.md","line":51,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 111: System.out.println(responseHeaders.name(i) + \": \" + responseHeaders.value(i));","file":"docs/recipes.md","line":111,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 148: println(\"Vary: ${response.headers(\"Vary\")}\")","file":"docs/recipes.md","line":148,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 170: System.out.println(\"Vary: \" + response.headers(\"Vary\"));","file":"docs/recipes.md","line":170,"lexical":0.44999999999999996,"target":false},{"text":"File: regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt\nLine 144: println(\"onResponseStarted ${info.headers.asMap} ${info.negotiatedProtocol}\")","file":"regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt","line":144,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java\nLine 39: System.out.println(\"Vary: \" + response.headers(\"Vary\"));","file":"samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java","line":39,"lexical":0.65,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java\nLine 46: System.out.println(responseHeaders.name(i) + \": \" + responseHeaders.value(i));","file":"samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java","line":46,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java\nLine 154: System.out.println(responseHeaders.name(i) + \": \" + responseHeaders.value(i));","file":"samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java","line":154,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java\nLine 173: printEvent(\"responseHeadersStart\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","line":173,"lexical":0.65,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java\nLine 177: printEvent(\"responseHeadersEnd\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","line":177,"lexical":0.65,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java\nLine 148: printEvent(\"responseHeadersStart\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java","line":148,"lexical":0.65,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java\nLine 152: printEvent(\"responseHeadersEnd\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java","line":152,"lexical":0.65,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java\nLine 37: System.out.println(responseHeaders.name(i) + \": \" + responseHeaders.value(i));","file":"samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java","line":37,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt\nLine 40: println(\"Vary: ${response.headers(\"Vary\")}\")","file":"samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt","line":40,"lexical":0.65,"target":true},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt\nLine 167: println(responseHeaders.name(i) + \": \" + responseHeaders.value(i))","file":"samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt","line":167,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"HTTPSリクエストのレスポンスをキャッシュして、暗号スイートを確認するテスト","query":"secure response caching","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","symbol":"secureResponseCaching","line":329,"lang":"ja","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 330: fun secureResponseCaching() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":330,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 372: fun secureResponseCachingWithCorruption() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":372,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 808: fun secureResponseCachingAndRedirects() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":808,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 866: fun secureResponseCachingAndProtocolRedirects() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":866,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"既存のストリームを維持しつつ、新しいストリームの作成と受け入れを停止して接続をシャットダウンする関数を探して。","query":"shutdown connection","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","symbol":"shutdown","line":422,"lang":"ja","candidates":[{"text":"File: docs/changelogs/changelog_3x.md\nLine 776: * Fix: Gracefully recover from HTTP/2 connection shutdowns at start of request.","file":"docs/changelogs/changelog_3x.md","line":776,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 786: * Fix: Recover gracefully when an HTTP/2 connection is shutdown. We had a","file":"docs/changelogs/changelog_3x.md","line":786,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 787: bug where shutdown HTTP/2 connections were considered usable. This caused","file":"docs/changelogs/changelog_3x.md","line":787,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt\nLine 22: import mockwebserver3.SocketEffect.ShutdownConnection","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt","line":22,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt\nLine 78: result.onResponseEnd(ShutdownConnection)","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt","line":78,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/api/mockwebserver3.api\nLine 206: public final class mockwebserver3/SocketEffect$ShutdownConnection : mockwebserver3/SocketEffect {","file":"mockwebserver/api/mockwebserver3.api","line":206,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/api/mockwebserver3.api\nLine 207: public static final field INSTANCE Lmockwebserver3/SocketEffect$ShutdownConnection;","file":"mockwebserver/api/mockwebserver3.api","line":207,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 54: import mockwebserver3.SocketEffect.ShutdownConnection","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":54,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 962: ShutdownConnection -> {","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":962,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 964: stream.connection.shutdown(ErrorCode.NO_ERROR)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":964,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt\nLine 39: public object ShutdownConnection : SocketEffect","file":"mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt","line":39,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt\nLine 141: .onResponseStart(SocketEffect.ShutdownConnection)","file":"okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt","line":141,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 152: if (previous.outputShutdown) previous.connection.close()","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":152,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 170: if (previous.inputShutdown) previous.connection.close()","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":170,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 913: HSPLokhttp3/internal/http2/Http2Connection;->shutdown(Lokhttp3/internal/http2/ErrorCode;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":913,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 1713: Lokhttp3/internal/http2/ConnectionShutdownException;","file":"okhttp/src/androidMain/baseline-prof.txt","line":1713,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 45: import okhttp3.internal.http2.ConnectionShutdownException","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":45,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 398: } else if (!isMultiplexed || e is ConnectionShutdownException) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":398,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 25: import okhttp3.internal.http2.ConnectionShutdownException","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":25,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 86: if (e is ConnectionShutdownException) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":86,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt\nLine 43: import okhttp3.internal.http2.ConnectionShutdownException","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt","line":43,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt\nLine 139: val requestSendStarted = e !is ConnectionShutdownException","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt","line":139,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ConnectionShutdownException.kt\nLine 21: * Thrown when an HTTP/2 connection is shutdown (either explicitly or if the peer has sent a GOAWAY","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ConnectionShutdownException.kt","line":21,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ConnectionShutdownException.kt\nLine 24: class ConnectionShutdownException : IOException()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ConnectionShutdownException.kt","line":24,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 248: throw ConnectionShutdownException()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":248,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 455: shutdown(connectionCode)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":455,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 522: throw ConnectionShutdownException()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":522,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 44: import mockwebserver3.SocketEffect.ShutdownConnection","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":44,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 4191: builder.onResponseEnd(ShutdownConnection)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":4191,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 4228: response.onResponseEnd(ShutdownConnection)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":4228,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 75: import mockwebserver3.SocketEffect.ShutdownConnection","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":75,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 565: .onResponseEnd(ShutdownConnection)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":565,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Ich erhalte einen Fehler beim Initialisieren des ConnectionPools, weil die Parameter für den Listener und den TaskRunner nicht korrekt an den Konstruktor übergeben werden. Bitte überprüfe, ob die Funktion zum Erstellen des Pools die Abhängigkeiten richtig durchreicht.","query":"connection pool factory","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt","symbol":"buildConnectionPool","line":115,"lang":"de","candidates":[{"text":"File: CHANGELOG.md\nLine 66: `OkHttpClient.Builder`, such as the cache, connection pool, socket factory, and DNS. We expect","file":"CHANGELOG.md","line":66,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt\nLine 247: // This client shares a connection pool but has a different SSL socket factory.","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt","line":247,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt\nLine 280: // This client shares a connection pool but has a different SSL socket factory.","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt","line":280,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 2451: val pool = factory.newConnectionPool()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":2451,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 2473: Connection::class.java to factory.newConnection(pool, route),","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":2473,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt\nLine 31: val pool = factory.newConnectionPool()","file":"okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt","line":31,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 55: val pool = factory.newConnectionPool()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":55,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 56: val c1 = factory.newConnection(pool, routeA1, 50L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":56,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 85: val pool = factory.newConnectionPool()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":85,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 87: val c1 = factory.newConnection(pool, routeA1, 50L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":87,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 114: val pool = factory.newConnectionPool()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":114,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 115: val c1 = factory.newConnection(pool, routeA1, 75L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":115,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 116: val c2 = factory.newConnection(pool, routeB1, 50L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":116,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 145: factory.newConnectionPool(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":145,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 148: val c1 = factory.newConnection(pool, routeA1, 50L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":148,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 149: val c2 = factory.newConnection(pool, routeB1, 75L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":149,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 158: val c3 = factory.newConnection(pool, routeC1, 75L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":158,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 169: val pool = factory.newConnectionPool()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":169,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 171: val c1 = factory.newConnection(pool, routeA1, 0L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":171,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 192: factory.newConnectionPool(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":192,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 196: factory.newConnection(pool, routeA1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":196,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"implémente la vérification de l'état d'exécution","query":"isExecuted boolean","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","symbol":"isExecuted","line":206,"lang":"fr","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt\nLine 30: override fun isExecuted(): Boolean = error(\"unexpected\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt","line":30,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt\nLine 78: fun isExecuted(): Boolean","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt","line":78,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 202: override fun isExecuted(): Boolean = executed.get()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":202,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 206: override fun isExecuted(): Boolean = TODO()","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":206,"lexical":0.39999999999999997,"target":true}]} {"site":"project_search","repo":"okhttp","task":"comment créer un vérificateur d'hôte non sécurisé pour désactiver la validation SSL ?","query":"insecure hostname verifier","file":"okcurl/src/main/kotlin/okhttp3/curl/Main.kt","symbol":"createInsecureHostnameVerifier","line":177,"lang":"fr","candidates":[{"text":"File: okcurl/src/main/kotlin/okhttp3/curl/Main.kt\nLine 124: builder.hostnameVerifier(createInsecureHostnameVerifier())","file":"okcurl/src/main/kotlin/okhttp3/curl/Main.kt","line":124,"lexical":0.44999999999999996,"target":true},{"text":"File: okcurl/src/main/kotlin/okhttp3/curl/Main.kt\nLine 177: private fun createInsecureHostnameVerifier(): HostnameVerifier = HostnameVerifier { _, _ -> true }","file":"okcurl/src/main/kotlin/okhttp3/curl/Main.kt","line":177,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"short 타입을 int로 변환해서 비트 연산하는 함수 찾아줘","query":"short and mask","file":"okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt","symbol":"and","line":296,"lang":"ko","candidates":[{"text":"File: okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt\nLine 296: internal infix fun Short.and(mask: Int): Int = toInt() and mask","file":"okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt","line":296,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt\nLine 207: internal infix fun Short.and(mask: Int): Int = toInt() and mask","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt","line":207,"lexical":0.55,"target":false}]} {"site":"project_search","repo":"okhttp","task":"判断当前的连接是否可以承载一个新的请求地址,包括检查连接限制和域名合并逻辑。","query":"connection address eligible","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","symbol":"isEligible","line":183,"lang":"zh","candidates":[{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 816: HSPLokhttp3/internal/connection/RealConnection;->isEligible$okhttp(Lokhttp3/Address;Ljava/util/List;)Z","file":"okhttp/src/androidMain/baseline-prof.txt","line":816,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt\nLine 100: !connection.isEligible(address, routes) -> {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt","line":100,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"네트워크 요청을 가로채서 응답을 처리하는 메서드 찾아줘","query":"intercept chain response","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","symbol":"intercept","line":67,"lang":"ko","candidates":[{"text":"File: CHANGELOG.md\nLine 104: override fun intercept(chain: Interceptor.Chain): Response {","file":"CHANGELOG.md","line":104,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/AndroidNetworkPinning.kt\nLine 34: override fun intercept(chain: Interceptor.Chain): Response {","file":"android-test/src/androidTest/java/okhttp/android/test/AndroidNetworkPinning.kt","line":34,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 208: override fun intercept(chain: Interceptor.Chain): Response {","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":208,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/interceptors.md\nLine 8: @Override public Response intercept(Interceptor.Chain chain) throws IOException {","file":"docs/features/interceptors.md","line":8,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 26: A call to `chain.proceed(request)` is a critical part of each interceptor’s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If `chain.proceed(request)` is being called more than …","file":"docs/features/interceptors.md","line":26,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 52: …and OkHttp follows this redirect automatically. Our application interceptor is called **once** and the response returned from `chain.proceed()` has the redirected response:","file":"docs/features/interceptors.md","line":52,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 114: …Encoding: gzip` header added by OkHttp to advertise support for response compression. The network interceptor's `Chain` has a non-null `Connection` that can be used to interrogate the IP address and TLS configuration that were used to connect to the webser…","file":"docs/features/interceptors.md","line":114,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 143: @Override public Response intercept(Interceptor.Chain chain) throws IOException {","file":"docs/features/interceptors.md","line":143,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 185: @Override public Response intercept(Interceptor.Chain chain) throws IOException {","file":"docs/features/interceptors.md","line":185,"lexical":0.65,"target":false},{"text":"File: okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt\nLine 764: override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt","line":764,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/api/logging-interceptor.api\nLine 8: public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;","file":"okhttp-logging-interceptor/api/logging-interceptor.api","line":8,"lexical":0.65,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 166: override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":166,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt\nLine 29: override fun intercept(chain: Chain): Response = chain.proceed(uppercaseRequest(chain.request()))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt","line":29,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt\nLine 28: override fun intercept(chain: Chain): Response = uppercaseResponse(chain.proceed(chain.request()))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt","line":28,"lexical":0.65,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 337: public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;","file":"okhttp/api/android/okhttp.api","line":337,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 812: public abstract fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;","file":"okhttp/api/android/okhttp.api","line":812,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 337: public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;","file":"okhttp/api/jvm/okhttp.api","line":337,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 812: public abstract fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;","file":"okhttp/api/jvm/okhttp.api","line":812,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 737: HSPLokhttp3/internal/cache/CacheInterceptor;->intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;","file":"okhttp/src/androidMain/baseline-prof.txt","line":737,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 770: HSPLokhttp3/internal/connection/ConnectInterceptor;->intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;","file":"okhttp/src/androidMain/baseline-prof.txt","line":770,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 811: HSPLokhttp3/internal/connection/RealCall;->getResponseWithInterceptorChain$okhttp()Lokhttp3/Response;","file":"okhttp/src/androidMain/baseline-prof.txt","line":811,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 850: HSPLokhttp3/internal/http/BridgeInterceptor;->intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;","file":"okhttp/src/androidMain/baseline-prof.txt","line":850,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 852: HSPLokhttp3/internal/http/CallServerInterceptor;->intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;","file":"okhttp/src/androidMain/baseline-prof.txt","line":852,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 859: HSPLokhttp3/internal/http/RealInterceptorChain;->proceed(Lokhttp3/Request;)Lokhttp3/Response;","file":"okhttp/src/androidMain/baseline-prof.txt","line":859,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 865: HSPLokhttp3/internal/http/RetryAndFollowUpInterceptor;->intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;","file":"okhttp/src/androidMain/baseline-prof.txt","line":865,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt\nLine 43: override fun intercept(chain: Interceptor.Chain): Response =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt","line":43,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 51: * override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":51,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 68: fun intercept(chain: Chain): Response","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":68,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 81: inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) }","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":81,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 692: inline fun addInterceptor(crossinline block: (chain: Interceptor.Chain) -> Response) =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":692,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 708: inline fun addNetworkInterceptor(crossinline block: (chain: Interceptor.Chain) -> Response) =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":708,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 45: override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":45,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"HTTP 요청 객체에서 부가 정보를 저장하는 속성이 설정되지 않았을 때, 다양한 타입의 태그를 조회하면 모두 null을 반환하는지 확인하는 테스트 코드를 찾고 있어. 태그를 명시적으로 지정하지 않은 기본 상태의 동작을 검증하는 부분을 보고 싶어.","query":"request tag null","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","symbol":"noTag","line":206,"lang":"ko","candidates":[{"text":"File: docs/changelogs/changelog_3x.md\nLine 439: that `tag()` now returns null if the request has no tag. Previously this would return the","file":"docs/changelogs/changelog_3x.md","line":439,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 355: * [Request.tag]. Use null to remove any existing tag assigned for [T].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":355,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 365: * [Request.tag]. Use null to remove any existing tag assigned for [type].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":365,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 383: * request using [Request.tag]. Use null to remove any existing tag assigned for [type].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":383,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 213: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":213,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 214: assertThat(request.tag(Any::class)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":214,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 215: assertThat(request.tag(String::class)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":215,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 218: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":218,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 219: assertThat(request.tag(String::class)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":219,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 233: assertThat(request.tag(String::class)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":233,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 249: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":249,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 260: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":260,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 274: assertThat(request.tag(String::class)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":274,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 291: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":291,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 306: assertThat(request.tag(Any::class)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":306,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 375: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":375,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 376: assertThat(request.tag(Any::class.java)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":376,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 377: assertThat(request.tag(UUID::class.java)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":377,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 378: assertThat(request.tag(String::class.java)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":378,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 381: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":381,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 382: assertThat(request.tag(String::class)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":382,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 396: assertThat(request.tag(UUID::class.java)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":396,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 397: assertThat(request.tag(String::class.java)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":397,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 413: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":413,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 424: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":424,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 438: assertThat(request.tag(UUID::class.java)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":438,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 439: assertThat(request.tag(String::class.java)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":439,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 455: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":455,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 456: assertThat(request.tag(Any::class.java)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":456,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 458: assertThat(request.tag(String::class.java)).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":458,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 474: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":474,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 475: assertThat(request.tag()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":475,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"HTTP/1接続プーリング中にクライアント側で接続が切断された場合、トレイラーが正しく処理されるか確認するテストを作成してください。","query":"trailer premature close","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","symbol":"trailersWithClientPrematureClose","line":599,"lang":"ja","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 577: fun trailersWithClientPrematureCloseHttp1() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":577,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 578: trailersWithClientPrematureClose(Protocol.HTTP_1_1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":578,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 582: fun trailersWithClientPrematureCloseHttp2() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":582,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 583: trailersWithClientPrematureClose(Protocol.HTTP_2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":583,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 599: private fun trailersWithClientPrematureClose(protocol: Protocol) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":599,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estoy intentando rastrear cuándo se inicia el envío del cuerpo de una petición en los tests. ¿Podrías mostrarme la implementación que registra el tiempo justo al empezar este proceso?","query":"requestBodyStart log","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","symbol":"requestBodyStart","line":145,"lang":"es","candidates":[{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 160: logWithTime(\"requestBodyStart\")","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":160,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 130: .assertLogMatch(Regex(\"\"\"requestBodyStart\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":130,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 146: logWithTime(\"requestBodyStart\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":146,"lexical":0.39999999999999997,"target":true}]} {"site":"project_search","repo":"okhttp","task":"O método precisa validar se o certificado fornecido foi assinado pela chave pública do certificado assinador. Além disso, deve verificar se o certificado assinador possui pelo menos o número mínimo de certificados intermediários esperado, conforme especificado pelo parâmetro. Retorna falso se o emissor não corresponder ao sujeito do assinante, se o número de intermediários for insuficiente ou se a verificação da assinatura falhar.","query":"verify certificate signature","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt","symbol":"verifySignature","line":107,"lang":"pt","candidates":[{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 120: * Certification Authority - G2\". That certificate is used to verify the signature of the","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":120,"lexical":0.65,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 122: * is used to verify the signature of the \"www.squareup.com\" certificate.","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":122,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"네트워크 클라이언트를 설정하는 과정에서 프록시 정보를 가져오는 함수를 쓰고 있는데, 에러가 발생하면서 더 이상 사용할 수 없다고 나오네요. 이 기능을 대신할 수 있는 최신 프로퍼티가 무엇인지 알려주세요.","query":"deprecated proxy","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","symbol":"proxy","line":478,"lang":"ko","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 7: public final fun -deprecated_proxy ()Ljava/net/Proxy;","file":"okhttp/api/android/okhttp.api","line":7,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 8: public final fun -deprecated_proxyAuthenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":8,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 9: public final fun -deprecated_proxySelector ()Ljava/net/ProxySelector;","file":"okhttp/api/android/okhttp.api","line":9,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 985: public final fun -deprecated_proxy ()Ljava/net/Proxy;","file":"okhttp/api/android/okhttp.api","line":985,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 986: public final fun -deprecated_proxyAuthenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":986,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 987: public final fun -deprecated_proxySelector ()Ljava/net/ProxySelector;","file":"okhttp/api/android/okhttp.api","line":987,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1318: public final fun -deprecated_proxy ()Ljava/net/Proxy;","file":"okhttp/api/android/okhttp.api","line":1318,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 7: public final fun -deprecated_proxy ()Ljava/net/Proxy;","file":"okhttp/api/jvm/okhttp.api","line":7,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 8: public final fun -deprecated_proxyAuthenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/jvm/okhttp.api","line":8,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 9: public final fun -deprecated_proxySelector ()Ljava/net/ProxySelector;","file":"okhttp/api/jvm/okhttp.api","line":9,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 984: public final fun -deprecated_proxy ()Ljava/net/Proxy;","file":"okhttp/api/jvm/okhttp.api","line":984,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 985: public final fun -deprecated_proxyAuthenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/jvm/okhttp.api","line":985,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 986: public final fun -deprecated_proxySelector ()Ljava/net/ProxySelector;","file":"okhttp/api/jvm/okhttp.api","line":986,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1317: public final fun -deprecated_proxy ()Ljava/net/Proxy;","file":"okhttp/api/jvm/okhttp.api","line":1317,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt\nLine 110: @JvmName(\"-deprecated_proxyAuthenticator\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt","line":110,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt\nLine 134: @JvmName(\"-deprecated_proxySelector\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt","line":134,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt\nLine 142: @JvmName(\"-deprecated_proxy\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt","line":142,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 478: @JvmName(\"-deprecated_proxy\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":478,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 486: @JvmName(\"-deprecated_proxySelector\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":486,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 494: @JvmName(\"-deprecated_proxyAuthenticator\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":494,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt\nLine 60: @JvmName(\"-deprecated_proxy\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt","line":60,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"添加被抑制的异常到当前异常中","query":"add suppressed exception","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt","symbol":"withSuppressed","line":354,"lang":"zh","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt\nLine 94: firstException.addSuppressed(throwable)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt","line":94,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt\nLine 55: firstException.addSuppressed(e)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt","line":55,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt\nLine 379: firstException.addSuppressed(exceptions[i])","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt","line":379,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 187: sendRequestException.addSuppressed(e)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":187,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"¿Cómo se testea el escenario donde se reciben múltiples conjuntos de cabeceras de respuesta en una conexión HTTP/2?","query":"multiple response headers","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","symbol":"readMultipleSetsOfResponseHeaders","line":1687,"lang":"es","candidates":[{"text":"File: docs/recipes.md\nLine 123: Typically HTTP headers work like a `Map`: each field has one value or none. But some headers permit multiple values, like Guava's [Multimap](https://guava.dev/releases/23.0/api/docs/com/google/common/collect/Multimap.html). For example, it'…","file":"docs/recipes.md","line":123,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1687: @Test fun readMultipleSetsOfResponseHeaders() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1687,"lexical":0.44999999999999996,"target":true}]} {"site":"project_search","repo":"okhttp","task":"특정 코드 포인트를 문자열로 인코딩하는 함수를 찾고 싶습니다. 이 함수는 유니코드 문자를 해당하는 문자열로 변환하는 역할을 합니다.","query":"encode code point","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","symbol":"encode","line":182,"lang":"ko","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt\nLine 63: } else if (codePoint == ' '.code && encodeSet === FORM_ENCODE_SET) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt","line":63,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt\nLine 73: codePoint.toChar() in encodeSet ||","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt","line":73,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt\nLine 83: encodedCharBuffer.writeUtf8CodePoint(codePoint)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt","line":83,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt\nLine 85: encodedCharBuffer.writeString(input, i, i + Character.charCount(codePoint), charset)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt","line":85,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt\nLine 119: * @param unicodeAllowed true to leave non-ASCII codepoint unencoded.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt","line":119,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt\nLine 140: codePoint.toChar() in encodeSet ||","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt","line":140,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt\nLine 178: codePoint = encoded.codePointAt(i)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt","line":178,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt\nLine 196: private fun formEncode(codePoint: Int): String {","file":"okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt","line":196,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt\nLine 353: fun fragmentPercentEncodedPartialCodePoint() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt","line":353,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 949: fun fragmentPercentEncodedPartialCodePoint() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":949,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt\nLine 29: * Tests how each code point is encoded and decoded in the context of each URL component.","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","line":29,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt\nLine 95: val codePointString = Encoding.IDENTITY.encode(codePoint)","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","line":95,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt\nLine 104: testEncodeAndDecode(codePoint, codePointString, component)","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","line":104,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt\nLine 107: testParseAlreadyEncoded(codePoint, encoding, component)","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","line":107,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt\nLine 119: val expected = component.canonicalize(encoding.encode(codePoint))","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","line":119,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt\nLine 149: val expected = encoding.encode(codePoint)","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","line":149,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt\nLine 182: override fun encode(codePoint: Int): String = String(codePoint)","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","line":182,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt\nLine 185: override fun encode(codePoint: Int): String {","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","line":185,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt\nLine 186: val utf8 = IDENTITY.encode(codePoint).encodeUtf8()","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","line":186,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt\nLine 208: open fun encode(codePoint: Int): String = throw UnsupportedOperationException()","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","line":208,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt\nLine 141: val encoded = encoding.encode(codePoint)","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt","line":141,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt\nLine 154: val encoded = encoding.encode(codePoint)","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt","line":154,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt\nLine 169: val encoded = encoding.encode(codePoint)","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt","line":169,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt\nLine 169: Punycode.encode(a1000MaxCodePoint.repeat(2)),","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt","line":169,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"HTTP 요청 생성 시 특정 이름을 가진 모든 헤더를 일괄적으로 삭제하는 기능이 제대로 동작하는지 확인해 주세요.","query":"remove all headers","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","symbol":"removeHeader","line":273,"lang":"ko","candidates":[{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt\nLine 147: headersBuilder.removeAll(name)","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt","line":147,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 300: * Removes all HTTP headers including any \"Content-Length\" and \"Transfer-encoding\" headers that","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":300,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 342: /** Removes all headers named [name], then adds a new header with the name and value. */","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":342,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 352: /** Removes all headers named [name]. */","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":352,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 355: headers_.removeAll(name)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":355,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 693: public final fun removeAll (Ljava/lang/String;)Lokhttp3/Headers$Builder;","file":"okhttp/api/android/okhttp.api","line":693,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 693: public final fun removeAll (Ljava/lang/String;)Lokhttp3/Headers$Builder;","file":"okhttp/api/jvm/okhttp.api","line":693,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 624: HSPLokhttp3/Headers$Builder;->removeAll(Ljava/lang/String;)Lokhttp3/Headers$Builder;","file":"okhttp/src/androidMain/baseline-prof.txt","line":624,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 556: responseHeadersBuilder.removeAll(SENT_MILLIS)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":556,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 557: responseHeadersBuilder.removeAll(RECEIVED_MILLIS)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":557,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 30: * responses coming back in. Typically interceptors add, remove, or transform headers on the request","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":30,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 272: /** Removes all headers named [name] on this builder. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":272,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 275: headers.removeAll(name)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":275,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 278: /** Removes all headers on this builder and adds [headers]. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":278,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 439: /** Removes all headers named [name] on this builder. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":439,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 442: headers.removeAll(name)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":442,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 445: /** Removes all headers on this builder and adds [headers]. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":445,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt\nLine 102: internal fun Headers.Builder.commonRemoveAll(name: String) =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt","line":102,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"¿Dónde se sobreescribe el método para devolver la cola de tareas sin modificaciones?","query":"decorate BlockingQueue","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","symbol":"decorate","line":343,"lang":"es","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 160: override fun decorate(queue: BlockingQueue) = TaskFakerBlockingQueue(queue)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":160,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 297: fun decorate(queue: BlockingQueue): BlockingQueue","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":297,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 343: override fun decorate(queue: BlockingQueue) = queue","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":343,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"cómo cerrar la conexión web manualmente al recibir un evento de cierre","query":"webSocket close","file":"okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt","symbol":"onClosing","line":164,"lang":"es","candidates":[{"text":"File: CHANGELOG.md\nLine 458: * New: `OkHttpClient.webSocketCloseTimeout` configures how long a web socket connection will wait","file":"CHANGELOG.md","line":458,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_2x.md\nLine 105: * Fix: Enforce that callers call `WebSocket.close()` on IO errors. Error","file":"docs/changelogs/changelog_2x.md","line":105,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_2x.md\nLine 261: * Fix: Websockets are now better at handling close frames.","file":"docs/changelogs/changelog_2x.md","line":261,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 840: webSocketCloseTimeout = RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS,","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":840,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1026: public final fun webSocketCloseTimeout ()I","file":"okhttp/api/android/okhttp.api","line":1026,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1075: public final fun webSocketCloseTimeout (JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder;","file":"okhttp/api/android/okhttp.api","line":1075,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1076: public final fun webSocketCloseTimeout (Ljava/time/Duration;)Lokhttp3/OkHttpClient$Builder;","file":"okhttp/api/android/okhttp.api","line":1076,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1077: public final fun webSocketCloseTimeout-LRDsOJo (J)Lokhttp3/OkHttpClient$Builder;","file":"okhttp/api/android/okhttp.api","line":1077,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1376: public fun onClosed (Lokhttp3/WebSocket;ILjava/lang/String;)V","file":"okhttp/api/android/okhttp.api","line":1376,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1025: public final fun webSocketCloseTimeout ()I","file":"okhttp/api/jvm/okhttp.api","line":1025,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1074: public final fun webSocketCloseTimeout (JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder;","file":"okhttp/api/jvm/okhttp.api","line":1074,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1075: public final fun webSocketCloseTimeout (Ljava/time/Duration;)Lokhttp3/OkHttpClient$Builder;","file":"okhttp/api/jvm/okhttp.api","line":1075,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1076: public final fun webSocketCloseTimeout-LRDsOJo (J)Lokhttp3/OkHttpClient$Builder;","file":"okhttp/api/jvm/okhttp.api","line":1076,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1375: public fun onClosed (Lokhttp3/WebSocket;ILjava/lang/String;)V","file":"okhttp/api/jvm/okhttp.api","line":1375,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 259: @get:JvmName(\"webSocketCloseTimeout\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":259,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 260: val webSocketCloseTimeout: Int = builder.webSocketCloseTimeout","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":260,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 374: webSocketCloseTimeout = webSocketCloseTimeout.toLong(),","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":374,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 620: internal var webSocketCloseTimeout = RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS.toInt()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":620,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 655: this.webSocketCloseTimeout = okHttpClient.webSocketCloseTimeout","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":655,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1330: * The close timeout is the maximum amount of time after the client calls [WebSocket.close] to","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1330,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1334: fun webSocketCloseTimeout(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1334,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1338: webSocketCloseTimeout = checkDuration(\"webSocketCloseTimeout\", timeout, unit)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1338,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1345: * The close timeout is the maximum amount of time after the client calls [WebSocket.close] to","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1345,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1351: fun webSocketCloseTimeout(duration: Duration) =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1351,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1353: webSocketCloseTimeout(duration.toMillis(), MILLISECONDS)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1353,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1360: * The close timeout is the maximum amount of time after the client calls [WebSocket.close] to","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1360,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1364: fun webSocketCloseTimeout(duration: KotlinDuration) =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1364,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1366: webSocketCloseTimeout = checkDuration(\"duration\", duration)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1366,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 43: import okhttp3.internal.ws.WebSocketProtocol.CLOSE_CLIENT_GOING_AWAY","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":43,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 44: import okhttp3.internal.ws.WebSocketProtocol.CLOSE_MESSAGE_MAX","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":44,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 47: import okhttp3.internal.ws.WebSocketProtocol.validateCloseCode","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":47,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 69: private val webSocketCloseTimeout: Long,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":69,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"查找通过库别名获取版本字符串的逻辑","query":"libs findVersion","file":"build-logic/src/main/kotlin/okhttp.jvm-conventions.gradle.kts","symbol":"version","line":16,"lang":"zh","candidates":[{"text":"File: build-logic/src/main/kotlin/okhttp.jvm-conventions.gradle.kts\nLine 16: fun version(alias: String) = libs.findVersion(alias).get().toString()","file":"build-logic/src/main/kotlin/okhttp.jvm-conventions.gradle.kts","line":16,"lexical":0.39999999999999997,"target":true},{"text":"File: build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts\nLine 18: fun version(alias: String) = libs.findVersion(alias).get().toString()","file":"build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts","line":18,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"I'm trying to verify the compatibility logic for different Java versions. Can you find the tests that check if certain features are enabled or disabled based on whether the runtime is running on an older or newer JDK?","query":"platform jdk test","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt","symbol":"Jdk9PlatformTest","line":29,"lang":"en","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatformTest.kt\nLine 28: class Jdk8WithJettyBootPlatformTest {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatformTest.kt","line":28,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt\nLine 29: class Jdk9PlatformTest {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt","line":29,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt\nLine 398: // The test uses JDK default SSL Context instead of the Platform provided one","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt","line":398,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"crea una versión de la cadena de interceptores con un verificador de nombres de host personalizado","query":"interceptor chain override","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","symbol":"withOverride","line":738,"lang":"es","candidates":[{"text":"File: CHANGELOG.md\nLine 104: override fun intercept(chain: Interceptor.Chain): Response {","file":"CHANGELOG.md","line":104,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/AndroidNetworkPinning.kt\nLine 34: override fun intercept(chain: Interceptor.Chain): Response {","file":"android-test/src/androidTest/java/okhttp/android/test/AndroidNetworkPinning.kt","line":34,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 208: override fun intercept(chain: Interceptor.Chain): Response {","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":208,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/interceptors.md\nLine 8: @Override public Response intercept(Interceptor.Chain chain) throws IOException {","file":"docs/features/interceptors.md","line":8,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 143: @Override public Response intercept(Interceptor.Chain chain) throws IOException {","file":"docs/features/interceptors.md","line":143,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 185: @Override public Response intercept(Interceptor.Chain chain) throws IOException {","file":"docs/features/interceptors.md","line":185,"lexical":0.65,"target":false},{"text":"File: okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt\nLine 764: override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt","line":764,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 166: override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":166,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt\nLine 43: override fun intercept(chain: Interceptor.Chain): Response =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt","line":43,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 51: * override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":51,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 45: override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":45,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt\nLine 30: override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt","line":30,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt\nLine 36: override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt","line":36,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 32: override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":32,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 205: override fun withDns(dns: Dns): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":205,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 211: override fun withSocketFactory(socketFactory: SocketFactory): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":211,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 217: override fun withRetryOnConnectionFailure(retryOnConnectionFailure: Boolean): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":217,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 223: override fun withAuthenticator(authenticator: Authenticator): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":223,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 229: override fun withCookieJar(cookieJar: CookieJar): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":229,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 235: override fun withCache(cache: Cache?): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":235,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 241: override fun withProxy(proxy: Proxy?): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":241,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 247: override fun withProxySelector(proxySelector: ProxySelector): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":247,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 253: override fun withProxyAuthenticator(proxyAuthenticator: Authenticator): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":253,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 282: override fun withHostnameVerifier(hostnameVerifier: HostnameVerifier): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":282,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 288: override fun withCertificatePinner(certificatePinner: CertificatePinner): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":288,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 301: override fun withConnectionPool(connectionPool: ConnectionPool): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":301,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt\nLine 53: override fun intercept(chain: Interceptor.Chain): Response {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt","line":53,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 79: * Test that we can override in a Application Interceptor, purely by seeing that the chain reports","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":79,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 106: fun Override.testApplicationInterceptor(chain: Interceptor.Chain): Response {","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":106,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 482: fun Interceptor.Chain.withOverride(value: T): Interceptor.Chain","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":482,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 496: override fun Interceptor.Chain.value(): Dns = dns","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":496,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 498: override fun Interceptor.Chain.withOverride(value: Dns): Interceptor.Chain = withDns(value)","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":498,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"retourner un compteur qui passe à zéro quand la file est vide","query":"idle latch","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt","symbol":"idleLatch","line":121,"lang":"fr","candidates":[{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 413: if (!queue.idleLatch().await(5, TimeUnit.SECONDS)) {","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":413,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 252: if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":252,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt\nLine 120: /** Returns a latch that reaches 0 when the queue is next idle. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt","line":120,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt\nLine 121: fun idleLatch(): CountDownLatch {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt","line":121,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 383: taskQueue.idleLatch().await(10, TimeUnit.SECONDS)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":383,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt\nLine 92: queue.idleLatch().await(500, TimeUnit.MILLISECONDS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt","line":92,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt\nLine 100: @Test fun idleLatchAfterShutdown() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt","line":100,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt\nLine 107: assertThat(queue.idleLatch().await(500L, TimeUnit.MILLISECONDS)).isTrue()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt","line":107,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt\nLine 108: assertThat(queue.idleLatch().count).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt","line":108,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt\nLine 657: @Test fun idleLatch() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt","line":657,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt\nLine 662: val idleLatch = redQueue.idleLatch()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt","line":662,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt\nLine 663: assertThat(idleLatch.count).isEqualTo(1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt","line":663,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt\nLine 668: assertThat(idleLatch.count).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt","line":668,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt\nLine 671: @Test fun multipleCallsToIdleLatchReturnSameInstance() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt","line":671,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt\nLine 676: val idleLatch1 = redQueue.idleLatch()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt","line":676,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt\nLine 677: val idleLatch2 = redQueue.idleLatch()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt","line":677,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt\nLine 678: assertThat(idleLatch2).isSameInstanceAs(idleLatch1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt","line":678,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"¿Cómo se maneja el evento cuando comienza la conexión?","query":"connectStart event","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","symbol":"connectStart","line":96,"lang":"es","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 56: import okhttp3.CallEvent.ConnectStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":56,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 71: import okhttp3.CallEvent.SecureConnectStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":71,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 687: if (events.lastOrNull() is ConnectStart) events.removeAt(events.lastIndex)","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":687,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 28: import okhttp3.CallEvent.ConnectStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":28,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 96: event is ConnectStart && call == event.call && inetSocketAddress == event.inetSocketAddress && proxy == event.proxy","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":96,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 108: event is ConnectStart && call == event.call && inetSocketAddress == event.inetSocketAddress && proxy == event.proxy","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":108,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 121: override fun closes(event: CallEvent): Boolean = event is SecureConnectStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":121,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt\nLine 52: override fun closes(event: ConnectionEvent): Boolean = event is ConnectStart && call == event.call && route == event.route","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt","line":52,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt\nLine 61: override fun closes(event: ConnectionEvent): Boolean = event is ConnectStart && call == event.call && route == event.route","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt","line":61,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 31: import okhttp3.CallEvent.ConnectStart","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":31,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 54: import okhttp3.CallEvent.SecureConnectStart","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":54,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 105: ) = onEvent(ConnectStart(System.nanoTime(), call, inetSocketAddress, proxy))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":105,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt\nLine 132: assertThat(e).isInstanceOf(ConnectionEvent.ConnectStart::class.java)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt","line":132,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt\nLine 152: ) = logEvent(ConnectionEvent.ConnectStart(System.nanoTime(), route, call))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt","line":152,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt\nLine 183: if (eventSequence.find { it is ConnectionEvent.ConnectStart && it.connection == connection } != null && connection is RealConnection) {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt","line":183,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 601: HSPLokhttp3/EventListener;->connectStart(Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":601,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 617: HSPLokhttp3/EventListener;->secureConnectStart(Lokhttp3/Call;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":617,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 141: call.eventListener.connectStart(call, route.socketAddress, route.proxy)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":141,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 196: call.eventListener.secureConnectStart(call)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":196,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 82: import okhttp3.CallEvent.ConnectStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":82,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3719: .filter { event: CallEvent? -> event is ConnectStart }","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3719,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt\nLine 249: val event = listener.removeUpToEvent(ConnectionEvent.ConnectStart::class.java)","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt","line":249,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 42: import okhttp3.CallEvent.ConnectStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":42,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 60: import okhttp3.CallEvent.SecureConnectStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":60,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 60: import okhttp3.CallEvent.ConnectStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":60,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 81: import okhttp3.CallEvent.SecureConnectStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":81,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 866: val connectStart = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":866,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 897: val connectStart = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":897,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 933: eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":933,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 935: eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":935,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 960: eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":960,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 998: val connectStart = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":998,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"성공 횟수를 증가시키는 과정에서 멀티스레드 환경의 동시성 문제가 발생할 가능성이 있는지 확인이 필요합니다. 현재 상태를 안전하게 업데이트하는 로직을 검토해주세요.","query":"increment success count","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","symbol":"incrementSuccessCount","line":148,"lang":"ko","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 369: this.connection?.incrementSuccessCount()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":369,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 148: internal fun incrementSuccessCount() {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":148,"lexical":0.44999999999999996,"target":true}]} {"site":"project_search","repo":"okhttp","task":"actualiza un segmento de la ruta por su posición asegurando la codificación y validando que no sea un punto","query":"set path segment","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","symbol":"setEncodedPathSegment","line":1055,"lang":"es","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 790: public final fun setEncodedPathSegment (ILjava/lang/String;)Lokhttp3/HttpUrl$Builder;","file":"okhttp/api/android/okhttp.api","line":790,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 792: public final fun setPathSegment (ILjava/lang/String;)Lokhttp3/HttpUrl$Builder;","file":"okhttp/api/android/okhttp.api","line":792,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 790: public final fun setEncodedPathSegment (ILjava/lang/String;)Lokhttp3/HttpUrl$Builder;","file":"okhttp/api/jvm/okhttp.api","line":790,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 792: public final fun setPathSegment (ILjava/lang/String;)Lokhttp3/HttpUrl$Builder;","file":"okhttp/api/jvm/okhttp.api","line":792,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 34: import okhttp3.internal.url.PATH_SEGMENT_ENCODE_SET","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":34,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 35: import okhttp3.internal.url.PATH_SEGMENT_ENCODE_SET_URI","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":35,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 513: val segmentEnd = url.delimiterOffset('/', i, pathEnd)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":513,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1009: * Adds a set of path segments separated by a slash (either `\\` or `/`). If `pathSegments`","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1009,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1026: * Adds a set of encoded path segments separated by a slash (either `\\` or `/`). If","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1026,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1037: val segmentEnd = pathSegments.delimiterOffset(\"/\\\\\", offset, pathSegments.length)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1037,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1039: push(pathSegments, offset, segmentEnd, addTrailingSlash, alreadyEncoded)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1039,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1041: } while (offset <= pathSegments.length)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1041,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1044: fun setPathSegment(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1044,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1048: val canonicalPathSegment = pathSegment.canonicalize(encodeSet = PATH_SEGMENT_ENCODE_SET)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1048,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1055: fun setEncodedPathSegment(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1055,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1061: encodeSet = PATH_SEGMENT_ENCODE_SET,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1061,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1229: encodeSet = PATH_SEGMENT_ENCODE_SET_URI,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1229,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1530: val pathSegmentDelimiterOffset = input.delimiterOffset(\"/\\\\\", i, limit)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1530,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1531: val segmentHasTrailingSlash = pathSegmentDelimiterOffset < limit","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1531,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1532: push(input, i, pathSegmentDelimiterOffset, segmentHasTrailingSlash, true)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1532,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1533: i = pathSegmentDelimiterOffset","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1533,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 1550: encodeSet = PATH_SEGMENT_ENCODE_SET,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":1550,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt\nLine 28: internal const val PATH_SEGMENT_ENCODE_SET = \" \\\"<>^`{}|/\\\\?#\"","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt","line":28,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt\nLine 29: internal const val PATH_SEGMENT_ENCODE_SET_URI = \"[]\"","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt","line":29,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 1587: fun setPathSegment() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":1587,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 1592: .setPathSegment(0, \"d\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":1592,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 1599: .setPathSegment(1, \"d\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":1599,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 1606: .setPathSegment(2, \"d\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":1606,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 1613: fun setPathSegmentEncodes() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":1613,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 1618: .setPathSegment(0, \"%25\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":1618,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 1625: .setPathSegment(0, \".\\n\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":1625,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 1632: .setPathSegment(0, \"%2e\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":1632,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Es scheint ein Problem beim Senden von Datenrahmen auf der HTTP/2-Ebene zu geben, insbesondere wenn die Byte-Anzahl nicht korrekt mit dem Puffer abgeglichen wird oder der Schreibvorgang in den Sink fehlschlägt.","query":"http2 data frame","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","symbol":"dataFrame","line":180,"lang":"de","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 360: assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_DATA)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":360,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1580: assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_DATA)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1580,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1625: assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_DATA)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1625,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1800: assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_DATA)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1800,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 440: val expectedData = ByteArray(Http2.INITIAL_MAX_FRAME_SIZE)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":440,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 443: frame.writeByte(Http2.TYPE_DATA)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":443,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 474: frame.writeByte(Http2.TYPE_DATA)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":474,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 487: val expectedData = ByteArray(Http2.INITIAL_MAX_FRAME_SIZE)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":487,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 492: frame.writeByte(Http2.TYPE_DATA)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":492,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 512: frame.writeByte(Http2.TYPE_DATA)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":512,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 528: frame.writeByte(Http2.TYPE_DATA)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":528,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 701: writer.frameHeader(0, 16777216, Http2.TYPE_DATA, FLAG_NONE)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":701,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 713: writer.frameHeader(0, newMaxFrameSize, Http2.TYPE_DATA, FLAG_NONE)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":713,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 721: writer.frameHeader(streamId, Http2.INITIAL_MAX_FRAME_SIZE, Http2.TYPE_DATA, FLAG_NONE)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":721,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 773: Http2Writer(out, true).dataFrame(expectedStreamId, FLAG_NONE, data, data.size.toInt())","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":773,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 320: sink.close() // Http2Connection.writeData empty frame","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":320,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 368: waitForDataFrames(Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":368,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 411: waitForDataFrames(Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":411,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 435: waitForDataFrames(Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":435,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Como essa função decide se deve enviar um sinal de cancelamento para o fluxo HTTP/2 com base no estado do sink e do source?","query":"cancel stream HTTP2","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","symbol":"cancelStreamIfNecessary","line":541,"lang":"pt","candidates":[{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 945: HSPLokhttp3/internal/http2/Http2Stream;->cancelStreamIfNecessary$okhttp()V","file":"okhttp/src/androidMain/baseline-prof.txt","line":945,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 555: this@Http2Stream.close(ErrorCode.CANCEL, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":555,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 476: connect(peer, PushObserver.CANCEL, Http2Connection.Listener.REFUSE_INCOMING_STREAMS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":476,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"编写一个将加密套接字转换为适配器的工厂方法","query":"sslsocket socketadapter","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt","symbol":"create","line":61,"lang":"zh","candidates":[{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 993: HSPLokhttp3/internal/platform/android/Android10SocketAdapter;->configureTlsExtensions(Ljavax/net/ssl/SSLSocket;Ljava/lang/String;Ljava/util/List;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":993,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 994: HSPLokhttp3/internal/platform/android/Android10SocketAdapter;->getSelectedProtocol(Ljavax/net/ssl/SSLSocket;)Ljava/lang/String;","file":"okhttp/src/androidMain/baseline-prof.txt","line":994,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 996: HSPLokhttp3/internal/platform/android/Android10SocketAdapter;->matchesSocket(Ljavax/net/ssl/SSLSocket;)Z","file":"okhttp/src/androidMain/baseline-prof.txt","line":996,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt\nLine 106: socketAdapters.find { it.matchesSocket(sslSocket) }?.getSelectedProtocol(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt","line":106,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt\nLine 107: socketAdapters.find { it.matchesSocket(sslSocket) }?.getSelectedProtocol(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt","line":107,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt\nLine 28: * Modern reflection based SocketAdapter for Conscrypt class SSLSockets.","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt","line":28,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt\nLine 110: private fun build(actualSSLSocketClass: Class): AndroidSocketAdapter {","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt","line":110,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt\nLine 129: override fun create(sslSocket: SSLSocket): SocketAdapter = build(sslSocket.javaClass)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt","line":129,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt\nLine 65: override fun create(sslSocket: SSLSocket): SocketAdapter = BouncyCastleSocketAdapter()","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt","line":65,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt\nLine 61: override fun create(sslSocket: SSLSocket): SocketAdapter = ConscryptSocketAdapter()","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt","line":61,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt\nLine 37: override fun matchesSocket(sslSocket: SSLSocket): Boolean = socketAdapterFactory.matchesSocket(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt","line":37,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt\nLine 50: @Synchronized private fun getDelegate(sslSocket: SSLSocket): SocketAdapter? {","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt","line":50,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt\nLine 51: if (this.delegate == null && socketAdapterFactory.matchesSocket(sslSocket)) {","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt","line":51,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt\nLine 52: this.delegate = socketAdapterFactory.create(sslSocket)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt","line":52,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt\nLine 61: fun create(sslSocket: SSLSocket): SocketAdapter","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt","line":61,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt\nLine 26: * Base Android reflection based SocketAdapter for the built in Android SSLSocket.","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt","line":26,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt\nLine 35: ) : AndroidSocketAdapter(sslSocketClass) {","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt","line":35,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt\nLine 70: StandardAndroidSocketAdapter(sslSocketClass, sslSocketFactoryClass, paramsClass)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt","line":70,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"HTTP/2 동적 테이블의 최대 바이트 수 제한을 확인하는 로직을 찾고 있는데, 현재 설정된 값이 제대로 반환되는지 확인이 필요합니다.","query":"max dynamic table","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","symbol":"maxDynamicTableByteCount","line":154,"lang":"ko","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 53: * The decoder has ultimate control of the maximum size of the dynamic table but we can choose","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":53,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 131: private var maxDynamicTableByteCount: Int = headerTableSizeSetting,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":131,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 154: fun maxDynamicTableByteCount(): Int = maxDynamicTableByteCount","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":154,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 157: if (maxDynamicTableByteCount < dynamicTableByteCount) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":157,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 158: if (maxDynamicTableByteCount == 0) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":158,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 161: evictToRecoverBytes(dynamicTableByteCount - maxDynamicTableByteCount)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":161,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 233: maxDynamicTableByteCount = readInt(b, PREFIX_5_BITS)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":233,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 234: if (maxDynamicTableByteCount < 0 || maxDynamicTableByteCount > headerTableSizeSetting) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":234,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 235: throw IOException(\"Invalid dynamic table size update $maxDynamicTableByteCount\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":235,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 328: if (delta > maxDynamicTableByteCount) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":328,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 334: val bytesToRecover = dynamicTableByteCount + delta - maxDynamicTableByteCount","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":334,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 447: @JvmField var maxDynamicTableByteCount: Int = headerTableSizeSetting","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":447,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 497: if (delta > maxDynamicTableByteCount) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":497,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 503: val bytesToRecover = dynamicTableByteCount + delta - maxDynamicTableByteCount","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":503,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 526: if (smallestHeaderTableSizeSetting < maxDynamicTableByteCount) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":526,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 532: writeInt(maxDynamicTableByteCount, PREFIX_5_BITS, 0x20)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":532,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 646: if (maxDynamicTableByteCount == effectiveHeaderTableSize) return // No change.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":646,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 648: if (effectiveHeaderTableSize < maxDynamicTableByteCount) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":648,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 653: maxDynamicTableByteCount = effectiveHeaderTableSize","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":653,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 658: if (maxDynamicTableByteCount < dynamicTableByteCount) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":658,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 659: if (maxDynamicTableByteCount == 0) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":659,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 662: evictToRecoverBytes(dynamicTableByteCount - maxDynamicTableByteCount)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":662,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt\nLine 387: assertThat(hpackReader!!.maxDynamicTableByteCount()).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt","line":387,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt\nLine 392: assertThat(hpackReader!!.maxDynamicTableByteCount()).isEqualTo(4096)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt","line":392,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt\nLine 1080: assertThat(hpackWriter!!.maxDynamicTableByteCount).isEqualTo(16384)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt","line":1080,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"リクエスト失敗時のコールバック処理を記述して","query":"onFailure callback","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt","symbol":"onFailure","line":52,"lang":"ja","candidates":[{"text":"File: docs/changelogs/changelog_2x.md\nLine 480: * **API Change**: Use `IOException` in `Callback.onFailure()`. This is","file":"docs/changelogs/changelog_2x.md","line":480,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 51: `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an","file":"docs/changelogs/changelog_3x.md","line":51,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 285: `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an","file":"docs/changelogs/changelog_3x.md","line":285,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt\nLine 56: callback.onFailure(e)","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt","line":56,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt\nLine 67: return callback.onFailure(e)","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt","line":67,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt\nLine 152: callback.onFailure(UnknownHostException(message))","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt","line":152,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt\nLine 285: callback.onFailure(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt","line":285,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt\nLine 170: callback.onFailure(e)","file":"okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt","line":170,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt\nLine 217: return callback.onFailure(e)","file":"okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt","line":217,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt\nLine 224: callback.onFailure(IOException(\"HTTPS query failed with code ${e.code}\", e))","file":"okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt","line":224,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt\nLine 243: callback.onFailure(IOException(e))","file":"okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt","line":243,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt\nLine 88: * become idle after the [onResponse][Callback.onResponse] or [onFailure][Callback.onFailure]","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt","line":88,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt\nLine 57: * thrown and no [WebSocketListener.onFailure] callback is triggered, so callers should always check","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt","line":57,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 574: responseCallback.onFailure(this@RealCall, ioException)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":574,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 590: responseCallback.onFailure(this@RealCall, e)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":590,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 597: responseCallback.onFailure(this@RealCall, canceledException)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":597,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt\nLine 102: callback.onFailure(this, IOException(\"canceled\"))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt","line":102,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt\nLine 317: previous.callback.onFailure(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt","line":317,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt\nLine 373: internal fun Dns.Callback.onFailure(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-StateMachineDnsCall.kt","line":373,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt\nLine 50: State.Canceled -> callback.onFailure(this, IOException(\"canceled\"))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt","line":50,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt\nLine 56: (previous as? State.Running)?.callback?.onFailure(this, IOException(\"canceled\"))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt","line":56,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt\nLine 72: (previous as? State.Running)?.callback?.onFailure(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt","line":72,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt\nLine 163: is Result.Failure -> callback.onFailure(result.exception)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt","line":163,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt\nLine 196: callback!!.onFailure(IOException(\"canceled\"))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt","line":196,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt\nLine 265: query.callback!!.onFailure(e)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt","line":265,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTester.kt\nLine 272: /** Asserts that the next-posted event is a call to [Dns.Callback.onFailure]. */","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTester.kt","line":272,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTester.kt\nLine 308: callback.onFailure(IOException(message))","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTester.kt","line":308,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"¿Dónde se está sobreescribiendo el método para que la fuente de datos devuelva un buffer con el texto 'hello'?","query":"source Buffer hello","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","symbol":"source","line":285,"lang":"es","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt\nLine 109: val source = Buffer().writeUtf8(\"hello\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","line":109,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt\nLine 263: val source = Buffer().writeUtf8(\"hello\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","line":263,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt\nLine 285: override fun source(): BufferedSource = Buffer().writeUtf8(\"hello\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","line":285,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt\nLine 339: val source = Buffer().writeUtf8(\"hello\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","line":339,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt\nLine 361: override fun source(): BufferedSource = Buffer().writeUtf8(\"hello\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","line":361,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt\nLine 418: val source = Buffer().writeUtf8(\"hello\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","line":418,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt\nLine 53: val source = Buffer().writeUtf8(\"hello\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt","line":53,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt\nLine 75: val source = Buffer().writeUtf8(\"hello\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt","line":75,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Wo wird diese Implementierung für den Modus verwendet, der den Kanal repräsentiert?","query":"SocketMode Channel","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt","symbol":"Channel","line":247,"lang":"de","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt\nLine 98: fun testHttp(socketMode: SocketMode = burstValues(Channel, Standard)) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt","line":98,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt\nLine 107: socketMode: SocketMode = burstValues(Channel, Standard),","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt","line":107,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt\nLine 117: socketMode.socketMode == Channel &&","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt","line":117,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt\nLine 136: if (socketMode.socketMode == Channel) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt","line":136,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt\nLine 183: } else if (socketMode == Channel) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt","line":183,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt\nLine 247: object Channel : SocketMode() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt","line":247,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"파일 디스크립터를 사용하여 요청 본문을 생성할 때 미디어 타입이 제대로 유지되는지 확인하는 테스트가 누락된 것 같습니다. 관련 로직을 점검해 주세요.","query":"file descriptor mediaType","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt","symbol":"testFileDescriptorMediaType","line":76,"lang":"ko","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 1168: public static final fun create (Ljava/io/FileDescriptor;Lokhttp3/MediaType;)Lokhttp3/RequestBody;","file":"okhttp/api/android/okhttp.api","line":1168,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1190: public final fun create (Ljava/io/FileDescriptor;Lokhttp3/MediaType;)Lokhttp3/RequestBody;","file":"okhttp/api/android/okhttp.api","line":1190,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1205: public static synthetic fun create$default (Lokhttp3/RequestBody$Companion;Ljava/io/FileDescriptor;Lokhttp3/MediaType;ILjava/lang/Object;)Lokhttp3/RequestBody;","file":"okhttp/api/android/okhttp.api","line":1205,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1167: public static final fun create (Ljava/io/FileDescriptor;Lokhttp3/MediaType;)Lokhttp3/RequestBody;","file":"okhttp/api/jvm/okhttp.api","line":1167,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1189: public final fun create (Ljava/io/FileDescriptor;Lokhttp3/MediaType;)Lokhttp3/RequestBody;","file":"okhttp/api/jvm/okhttp.api","line":1189,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1204: public static synthetic fun create$default (Lokhttp3/RequestBody$Companion;Ljava/io/FileDescriptor;Lokhttp3/MediaType;ILjava/lang/Object;)Lokhttp3/RequestBody;","file":"okhttp/api/jvm/okhttp.api","line":1204,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 146: fun FileDescriptor.toRequestBody(contentType: MediaType? = null): RequestBody =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":146,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt\nLine 68: fun testFileDescriptorDefaultMediaType() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt","line":68,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt\nLine 77: fun testFileDescriptorMediaType() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt","line":77,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Ich möchte prüfen, ob die Logik für das Pufferung des Antwortkörpers und das anschließende Auslesen der Trailer korrekt funktioniert. Kannst du mir zeigen, wie dieser Testfall mit dem HTTP/1.1-Protokoll implementiert ist?","query":"buffer response trailers","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","symbol":"bufferResponseBodyAndReadTrailersHttp1","line":427,"lang":"de","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 428: fun bufferResponseBodyAndReadTrailersHttp1() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":428,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 429: bufferResponseBodyAndReadTrailers(Protocol.HTTP_1_1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":429,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 433: fun bufferResponseBodyAndReadTrailersHttp2() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":433,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 434: bufferResponseBodyAndReadTrailers(Protocol.HTTP_2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":434,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 437: private fun bufferResponseBodyAndReadTrailers(protocol: Protocol) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":437,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"我想看看那个处理身份验证时如果路由为空会导致错误的测试用例是怎么写的。它模拟了服务器返回 401 错误并关闭连接的情况。","query":"authenticator null route","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","symbol":"authenticateWithNoConnection","line":558,"lang":"zh","candidates":[{"text":"File: docs/changelogs/changelog_3x.md\nLine 142: causing some `Authenticator` calls to see a null route when non-null was expected.","file":"docs/changelogs/changelog_3x.md","line":142,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 317: causing some `Authenticator` calls to see a null route when non-null was expected.","file":"docs/changelogs/changelog_3x.md","line":317,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 377: * Fix: Change `Authenticator`'s `Route` parameter to be nullable. This was marked as non-null but","file":"docs/changelogs/changelog_3x.md","line":377,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 547: * Fix: Never pass a null `Route` to `Authenticator`. There was a bug where","file":"docs/changelogs/changelog_3x.md","line":547,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 555: * We had a bug where we were passing a null route to the authenticator.","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":555,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 576: assertThat(authenticator.onlyRoute()).isNotNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":576,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt\nLine 390: .proxyAuthenticator { _: Route?, _: Response? -> null }","file":"okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt","line":390,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"ローカル起動のストリームを新規作成して出力ストリームのフラグ設定を処理する","query":"http2 new stream","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","symbol":"newStream","line":224,"lang":"ja","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 228: ): Http2Stream = newStream(0, requestHeaders, out)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":228,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 693: val newStream = Http2Stream(streamId, this@Http2Connection, false, inFinished, headers)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":693,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt\nLine 84: stream = http2Connection.newStream(requestHeaders, hasRequestBody)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt","line":84,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"서버가 응답 본문 중간에 연결을 끊는 경우의 동작을 검증하는 테스트 케이스를 찾아주세요.","query":"disconnect response halfway","file":"mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt","symbol":"disconnectResponseHalfway","line":444,"lang":"ko","candidates":[{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 384: fun disconnectResponseHalfway() {","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":384,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt\nLine 445: fun disconnectResponseHalfway() {","file":"mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt","line":445,"lexical":0.44999999999999996,"target":true}]} {"site":"project_search","repo":"okhttp","task":"Error al intentar acceder al método de resolución de nombres que ha sido reemplazado por una propiedad, lo cual impide la compilación debido al nivel de error de la depreciación.","query":"dns deprecated","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","symbol":"dns","line":470,"lang":"es","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 4: public final fun -deprecated_dns ()Lokhttp3/Dns;","file":"okhttp/api/android/okhttp.api","line":4,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 976: public final fun -deprecated_dns ()Lokhttp3/Dns;","file":"okhttp/api/android/okhttp.api","line":976,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 4: public final fun -deprecated_dns ()Lokhttp3/Dns;","file":"okhttp/api/jvm/okhttp.api","line":4,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 975: public final fun -deprecated_dns ()Lokhttp3/Dns;","file":"okhttp/api/jvm/okhttp.api","line":975,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt\nLine 94: @JvmName(\"-deprecated_dns\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt","line":94,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 470: @JvmName(\"-deprecated_dns\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":470,"lexical":0.39999999999999997,"target":true}]} {"site":"project_search","repo":"okhttp","task":"He detectado un problema en la lógica de comparación de eventos: la función está devolviendo verdadero de forma errónea si se compara un evento de inicio de selección de proxy contra otro evento, siempre que coincidan la llamada y la URL, sin verificar si realmente representan el mismo hito temporal.","query":"proxy select start","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","symbol":"closes","line":63,"lang":"es","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 63: import okhttp3.CallEvent.ProxySelectStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":63,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 631: ProxySelectStart::class,","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":631,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt\nLine 99: \"proxySelectStart: http://google.com/\",","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt","line":99,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 511: * New: `EventListener.proxySelectStart()`, `proxySelectEnd()` events give visibility into the","file":"docs/changelogs/changelog_4x.md","line":511,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/caching.md\nLine 45: - ProxySelectStart","file":"docs/features/caching.md","line":45,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/api/logging-interceptor.api\nLine 57: public fun proxySelectStart (Lokhttp3/Call;Lokhttp3/HttpUrl;)V","file":"okhttp-logging-interceptor/api/logging-interceptor.api","line":57,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 66: override fun proxySelectStart(","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":66,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 70: logWithTime(\"proxySelectStart: $url\")","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":70,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 90: .assertLogMatch(Regex(\"\"\"proxySelectStart: $url\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":90,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 118: .assertLogMatch(Regex(\"\"\"proxySelectStart: $url\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":118,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 153: .assertLogMatch(Regex(\"\"\"proxySelectStart: $url\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":153,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 192: .assertLogMatch(Regex(\"\"\"proxySelectStart: $url\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":192,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 218: .assertLogMatch(Regex(\"\"\"proxySelectStart: $url\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":218,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 35: import okhttp3.CallEvent.ProxySelectStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":35,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 261: ProxySelectStart::class,","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":261,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 51: data class ProxySelectStart(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":51,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 63: override fun closes(event: CallEvent): Boolean = event is ProxySelectStart && call == event.call && url == event.url","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":63,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 52: override fun proxySelectStart(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":52,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 56: logWithTime(\"proxySelectStart: $url\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":56,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 40: import okhttp3.CallEvent.ProxySelectStart","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":40,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 79: override fun proxySelectStart(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":79,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 82: ) = onEvent(ProxySelectStart(System.nanoTime(), call, url))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":82,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 578: public fun proxySelectStart (Lokhttp3/Call;Lokhttp3/HttpUrl;)V","file":"okhttp/api/android/okhttp.api","line":578,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 578: public fun proxySelectStart (Lokhttp3/Call;Lokhttp3/HttpUrl;)V","file":"okhttp/api/jvm/okhttp.api","line":578,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 607: HSPLokhttp3/EventListener;->proxySelectStart(Lokhttp3/Call;Lokhttp3/HttpUrl;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":607,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 37: * * proxy selection ([proxySelectStart], [proxySelectEnd])","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":37,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 106: open fun proxySelectStart(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":106,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 603: override fun proxySelectStart(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":603,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 608: delegate.proxySelectStart(call, url)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":608,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt\nLine 122: call.eventListener.proxySelectStart(call, url)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt","line":122,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 89: import okhttp3.CallEvent.ProxySelectStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":89,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1762: ProxySelectStart::class,","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1762,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"在创建拦截器链时,如何通过传入新的连接池实例来替换当前的连接池配置?","query":"replace connection pool","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","symbol":"withConnectionPool","line":294,"lang":"zh","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 393: replaceWith = ReplaceWith(expression = \"connectionPool\"),","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":393,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt\nLine 182: * If [planToReplace] is non-null, this will swap it for a pooled connection if that pooled","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt","line":182,"lexical":0.55,"target":false}]} {"site":"project_search","repo":"okhttp","task":"DoHの仕様に基づいて、HTTPリクエストを使用して名前解決を行うロジックの実装箇所を探しています。キャッシュやクライアントの設定を保持しているクラスはどこですか?","query":"DNS over HTTPS implementation","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt","symbol":"DnsOverHttps","line":42,"lang":"ja","candidates":[{"text":"File: android-test/build.gradle.kts\nLine 81: \"friendsImplementation\"(projects.okhttpDnsoverhttps)","file":"android-test/build.gradle.kts","line":81,"lexical":0.5,"target":false},{"text":"File: android-test/build.gradle.kts\nLine 113: androidTestImplementation(projects.okhttpDnsoverhttps)","file":"android-test/build.gradle.kts","line":113,"lexical":0.5,"target":false},{"text":"File: okhttp-dnsoverhttps/README.md\nLine 1: OkHttp DNS over HTTPS Implementation","file":"okhttp-dnsoverhttps/README.md","line":1,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-dnsoverhttps/README.md\nLine 4: This module is an implementation of [DNS over HTTPS][1] using OkHttp.","file":"okhttp-dnsoverhttps/README.md","line":4,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-dnsoverhttps/README.md\nLine 9: testImplementation(\"com.squareup.okhttp3:okhttp-dnsoverhttps:5.5.0\")","file":"okhttp-dnsoverhttps/README.md","line":9,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt\nLine 23: * Internal Bootstrap DNS implementation for handling initial connection to DNS over HTTPS server.","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt","line":23,"lexical":0.65,"target":false},{"text":"File: okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt\nLine 33: * [DNS over HTTPS implementation][doh_spec].","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt","line":33,"lexical":0.65,"target":true},{"text":"File: okhttp-osgi-tests/build.gradle.kts\nLine 13: implementation(projects.okhttpDnsoverhttps)","file":"okhttp-osgi-tests/build.gradle.kts","line":13,"lexical":0.5,"target":false},{"text":"File: okhttp/build.gradle.kts\nLine 173: implementation(projects.okhttpDnsoverhttps)","file":"okhttp/build.gradle.kts","line":173,"lexical":0.5,"target":false},{"text":"File: samples/android/build.gradle.kts\nLine 36: androidTestImplementation(projects.okhttpDnsoverhttps)","file":"samples/android/build.gradle.kts","line":36,"lexical":0.5,"target":false}]} {"site":"project_search","repo":"okhttp","task":"在 OkHttp 的 JVM 测试环境中,我想配置一个模拟的 FileSystem 行为。请帮我找到那个能够针对特定文件路径设置或取消“删除操作故障”状态的函数。当第二个参数为 true 时,该函数应将文件路径加入到一个内部集合中,以便后续删除请求能抛出异常;为 false 时则移除该路径。","query":"setFaultyDelete","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt","symbol":"setFaultyDelete","line":44,"lang":"zh","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 124: filesystem.setFaultyDelete(cacheDir / \"k1.0.tmp\", true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":124,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 125: filesystem.setFaultyDelete(cacheDir, true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":125,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 135: filesystem.setFaultyDelete(cacheDir / \"k1.0.tmp\", false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":135,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 136: filesystem.setFaultyDelete(cacheDir, false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":136,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1479: filesystem.setFaultyDelete(cacheDir / \"a.0\", true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1479,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1488: filesystem.setFaultyDelete(cacheDir / \"a.0\", false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1488,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1499: filesystem.setFaultyDelete(cacheDir / \"a.0\", true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1499,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1507: filesystem.setFaultyDelete(cacheDir / \"a.0\", false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1507,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1523: filesystem.setFaultyDelete(cacheDir / \"a.0\", true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1523,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1532: filesystem.setFaultyDelete(cacheDir / \"a.0\", false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1532,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1545: filesystem.setFaultyDelete(cacheDir / \"a.0\", true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1545,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1553: filesystem.setFaultyDelete(cacheDir / \"a.0\", false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1553,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1564: filesystem.setFaultyDelete(cacheDir / \"a.0\", true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1564,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1576: filesystem.setFaultyDelete(cacheDir / \"a.0\", false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1576,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1587: filesystem.setFaultyDelete(cacheDir / \"a.0\", true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1587,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1594: filesystem.setFaultyDelete(cacheDir / \"a.0\", false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1594,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1608: filesystem.setFaultyDelete(cacheDir / \"a.0\", true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1608,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1615: filesystem.setFaultyDelete(cacheDir / \"a.0\", false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1615,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1629: filesystem.setFaultyDelete(cacheDir / \"a.0\", true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1629,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1636: filesystem.setFaultyDelete(cacheDir / \"a.0\", false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1636,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1650: filesystem.setFaultyDelete(cacheDir / \"a.1\", true)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1650,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1660: filesystem.setFaultyDelete(cacheDir / \"a.1\", false)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1660,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt\nLine 44: fun setFaultyDelete(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt","line":44,"lexical":0.35,"target":true}]} {"site":"project_search","repo":"okhttp","task":"The logic that parses the block of key-value pairs for the request or response is failing to stop correctly or is misinterpreting the end of the section, potentially causing it to consume more data than intended during the header or trailer reading phase.","query":"read headers","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt","symbol":"readHeaders","line":38,"lang":"en","candidates":[{"text":"File: docs/changelogs/changelog_1x.md\nLine 114: * Fix: Honor read timeout when parsing SPDY headers.","file":"docs/changelogs/changelog_1x.md","line":114,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 869: * Fix: Don't crash reading non-ASCII characters in HTTP/2 headers or in cached","file":"docs/changelogs/changelog_3x.md","line":869,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 386: read the response headers or body, which mislead tracing tools. Note that the `responseFailed()`","file":"docs/changelogs/changelog_4x.md","line":386,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/features/calls.md\nLine 17: OkHttp may add headers that are absent from the original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless t…","file":"docs/features/calls.md","line":17,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 61: Download a file on a worker thread, and get called back when the response is readable. The callback is made after the response headers are ready. Reading the response body may still block. OkHttp doesn't currently offer asynchronous APIs to receive a respo…","file":"docs/recipes.md","line":61,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 125: When writing request headers, use `header(name, value)` to set the only occurrence of `name` to `value`. If there are existing values, they will be removed before the new value is added. Use `addHeader(name, value)` to add a header without removing the hea…","file":"docs/recipes.md","line":125,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 127: When reading response a header, use `header(name)` to return the _last_ occurrence of the named value. Usually this is also the only occurrence! If no value is present, `header(name)` will return null. To read all of a field's values as a list, use `header…","file":"docs/recipes.md","line":127,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 424: /** Trigger [socketEffect] before the request headers are read. */","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":424,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt\nLine 35: hpackReader.readHeaders()","file":"okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt","line":35,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 797: HSPLokhttp3/internal/connection/Exchange;->readResponseHeaders(Z)Lokhttp3/Response$Builder;","file":"okhttp/src/androidMain/baseline-prof.txt","line":797,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 903: HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;->headers(ZIILjava/util/List;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":903,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 922: HSPLokhttp3/internal/http2/Http2ExchangeCodec;->readResponseHeaders(Z)Lokhttp3/Response$Builder;","file":"okhttp/src/androidMain/baseline-prof.txt","line":922,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 1725: Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$1$1;","file":"okhttp/src/androidMain/baseline-prof.txt","line":1725,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 541: varyHeadersBuilder.addLenient(source.readUtf8LineStrict())","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":541,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 552: responseHeadersBuilder.addLenient(source.readUtf8LineStrict())","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":552,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 326: * Prior to OkHttp 4.3 this was incorrectly invoked when the client was ready to read headers.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":326,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt\nLine 22: import okhttp3.internal.http1.HeadersReader","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt","line":22,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt\nLine 147: val headers = HeadersReader(source).readHeaders()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt","line":147,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 248: * Sets the header named [name] to [value]. If this request already has any headers","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":248,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 285: * Sets this request's `Cache-Control` header, replacing any cache control headers already","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":285,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 418: * Sets the header named [name] to [value]. If this request already has any headers","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":418,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 452: .readResponseHeaders(false)!!","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":452,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 115: fun readResponseHeaders(expectContinue: Boolean): Response.Builder? {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":115,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 117: val result = codec.readResponseHeaders(expectContinue)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":117,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 53: responseBuilder = exchange.readResponseHeaders(expectContinue = true)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":53,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 97: responseBuilder = exchange.readResponseHeaders(expectContinue = false)!!","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":97,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 113: responseBuilder = exchange.readResponseHeaders(expectContinue = false)!!","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":113,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt\nLine 67: fun readResponseHeaders(expectContinue: Boolean): Response.Builder?","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt","line":67,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt\nLine 25: class HeadersReader(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt","line":25,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt\nLine 37: /** Reads headers or trailers. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt","line":37,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt\nLine 38: fun readHeaders(): Headers {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt","line":38,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 54: * 4. [Read response headers][readResponseHeaders].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":54,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estoy revisando cómo se comportan los metadatos adicionales cuando no se especifican en la respuesta. ¿Dónde puedo ver las pruebas que validan si los encabezados finales vienen vacíos por defecto?","query":"trailers empty test","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt","symbol":"ResponseJvmTest","line":31,"lang":"es","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt\nLine 33: fun testEmptyByDefaultIfTrailersNotSet() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt","line":33,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 794: @Test fun noTrailersFrameYieldsEmptyTrailers() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":794,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"quic 기반 차세대 프로토콜 상수를 찾아줘","query":"quic protocol","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt","symbol":"HTTP_3","line":95,"lang":"ko","candidates":[{"text":"File: docs/changelogs/changelog_3x.md\nLine 523: * New: `Protocol.QUIC` constant. This protocol is not supported but this","file":"docs/changelogs/changelog_3x.md","line":523,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt\nLine 177: response.protocol !== Protocol.QUIC","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt","line":177,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1093: public static final field QUIC Lokhttp3/Protocol;","file":"okhttp/api/android/okhttp.api","line":1093,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1092: public static final field QUIC Lokhttp3/Protocol;","file":"okhttp/api/jvm/okhttp.api","line":1092,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt\nLine 140: QUIC.protocol -> {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt","line":140,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt\nLine 33: assertThat(get(\"quic\")).isEqualTo(Protocol.QUIC)","file":"okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt","line":33,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt\nLine 51: assertThat(Protocol.QUIC.toString()).isEqualTo(\"quic\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt","line":51,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"我正在处理 HTTP/2 的头部压缩逻辑,能帮我找一下那个定义了头部名称和值的字节串数据结构吗?另外我想看看它是如何计算 HPACK 占用大小的。","query":"header ByteString","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Header.kt","symbol":"Header","line":22,"lang":"zh","candidates":[{"text":"File: mockwebserver/api/mockwebserver3.api\nLine 168: public fun (IILokhttp3/Handshake;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lokhttp3/HttpUrl;Lokhttp3/Headers;Lokio/ByteString;JLjava/util/List;Ljava/io/IOException;)V","file":"mockwebserver/api/mockwebserver3.api","line":168,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/api/mockwebserver3.api\nLine 169: …g;Ljava/lang/String;Ljava/lang/String;Lokhttp3/HttpUrl;Lokhttp3/Headers;Lokio/ByteString;JLjava/util/List;Ljava/io/IOException;ILkotlin/jvm/internal/DefaultConstructorMarker;)V","file":"mockwebserver/api/mockwebserver3.api","line":169,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt\nLine 46: val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)","file":"mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt","line":46,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt\nLine 59: val request = RecordedRequest(requestLine, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)","file":"mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt","line":59,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt\nLine 73: val request = RecordedRequest(requestLine, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)","file":"mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt","line":73,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt\nLine 114: val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)","file":"mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt","line":114,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt\nLine 126: val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)","file":"mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt","line":126,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt\nLine 143: val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)","file":"mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt","line":143,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 873: HSPLokhttp3/internal/http2/Header;->(Lokio/ByteString;Ljava/lang/String;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":873,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 874: HSPLokhttp3/internal/http2/Header;->(Lokio/ByteString;Lokio/ByteString;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":874,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt\nLine 424: val result = LinkedHashMap(STATIC_HEADER_TABLE.size, 1.0F)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt","line":424,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"응답에서 추출된 쿠키 목록이 내부 저장소에 중복되거나 유실되지 않고 리스트 형태로 올바르게 누적되는지 확인이 필요합니다.","query":"save cookies response","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt","symbol":"saveFromResponse","line":37,"lang":"ko","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt\nLine 34: * Saves [cookies] from an HTTP response to this store according to this jar's policy.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt","line":34,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt\nLine 216: saveFromResponse(url, cookies)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt","line":216,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"DerReader から UTF-8 文字列を読み取る decoder 実装を確認したい。","query":"utf8 string adapter","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","symbol":"decode","line":198,"lang":"ja","candidates":[{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt\nLine 287: String::class to Adapters.UTF8_STRING,","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt","line":287,"lexical":0.65,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt\nLine 547: val implicitAdapter = Adapters.UTF8_STRING.withTag(tag = 5L)","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt","line":547,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt\nLine 554: val implicitAdapter = Adapters.UTF8_STRING.withTag(tag = 5L)","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt","line":554,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt\nLine 562: val explicitAdapter = Adapters.UTF8_STRING.withExplicitBox(tag = 5L)","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt","line":562,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt\nLine 630: assertThat(Adapters.UTF8_STRING.fromDer(bytes)).isEqualTo(\"\\uD83D\\uDE0E\")","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt","line":630,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt\nLine 631: assertThat(Adapters.UTF8_STRING.toDer(\"\\uD83D\\uDE0E\")).isEqualTo(bytes)","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt","line":631,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt\nLine 826: Adapters.UTF8_STRING.fromDer(","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt","line":826,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"이 이벤트가 종료되는지 확인하는 함수 찾아줘","query":"connection event closes","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt","symbol":"closes","line":35,"lang":"ko","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 135: override fun closes(event: CallEvent): Boolean = event is ConnectionAcquired && call == event.call && connection == event.connection","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":135,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt\nLine 35: open fun closes(event: ConnectionEvent): Boolean? = null","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt","line":35,"lexical":0.65,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt\nLine 52: override fun closes(event: ConnectionEvent): Boolean = event is ConnectStart && call == event.call && route == event.route","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt","line":52,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt\nLine 61: override fun closes(event: ConnectionEvent): Boolean = event is ConnectStart && call == event.call && route == event.route","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt","line":61,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt\nLine 80: override fun closes(event: ConnectionEvent): Boolean =","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt","line":80,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt\nLine 24: * Listener for connection events. Extend this class to monitor the new connections and closes.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt","line":24,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"calcula la estrategia para satisfacer la petición usando la respuesta de caché","query":"cache strategy","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","symbol":"compute","line":131,"lang":"es","candidates":[{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 738: HSPLokhttp3/internal/cache/CacheStrategy;->(Lokhttp3/Request;Lokhttp3/Response;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":738,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 1654: Lokhttp3/internal/cache/CacheStrategy;","file":"okhttp/src/androidMain/baseline-prof.txt","line":1654,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 30: import okhttp3.internal.cache.CacheStrategy","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":30,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 403: @Synchronized internal fun trackResponse(cacheStrategy: CacheStrategy) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":403,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 406: if (cacheStrategy.networkRequest != null) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":406,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 409: } else if (cacheStrategy.cacheResponse != null) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":409,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 52: val strategy = CacheStrategy.Factory(now, chain.request(), cacheCandidate).compute()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":52,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 54: val cacheResponse = strategy.cacheResponse","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":54,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 56: cache?.trackResponse(strategy)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":56,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 143: if (response.promisesBody() && CacheStrategy.isCacheable(response, cacheNetworkRequest)) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":143,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 42: * Selecting a cache strategy may add conditions to the request (like the \"If-Modified-Since\" header","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":42,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 46: class CacheStrategy internal constructor(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":46,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 130: /** Returns a strategy to satisfy [request] using [cacheResponse]. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":130,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 131: fun compute(): CacheStrategy {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":131,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 136: return CacheStrategy(null, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":136,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 143: private fun computeCandidate(): CacheStrategy {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":143,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 146: return CacheStrategy(request, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":146,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 151: return CacheStrategy(request, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":151,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 158: return CacheStrategy(request, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":158,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 163: return CacheStrategy(request, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":163,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 194: return CacheStrategy(null, builder.build())","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":194,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 218: return CacheStrategy(request, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":218,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 230: return CacheStrategy(conditionalRequest, cacheResponse)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":230,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"The demonstration code for setting connection, read, and write limits doesn't seem to be applying the specific duration constraints correctly when initialized.","query":"configure timeout recipe","file":"samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java","symbol":"ConfigureTimeouts","line":26,"lang":"en","candidates":[{"text":"File: docs/recipes.md\nLine 1176: [ConfigureTimeoutsJava]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java","file":"docs/recipes.md","line":1176,"lexical":0.65,"target":false},{"text":"File: docs/recipes.md\nLine 1177: [ConfigureTimeoutsKotlin]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt","file":"docs/recipes.md","line":1177,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"流量制御のリスナーを設定するメソッドを探して","query":"flow control listener","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","symbol":"flowControlListener","line":607,"lang":"ja","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 47: import okhttp3.internal.http2.FlowControlListener","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":47,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 165: val flowControlListener = connectionListener as? FlowControlListener ?: FlowControlListener.None","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":165,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 172: .flowControlListener(flowControlListener)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":172,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/FlowControlListener.kt\nLine 20: interface FlowControlListener {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/FlowControlListener.kt","line":20,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/FlowControlListener.kt\nLine 38: object None : FlowControlListener {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/FlowControlListener.kt","line":38,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 108: internal val flowControlListener: FlowControlListener = builder.flowControlListener","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":108,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 197: flowControlListener.receivingConnectionWindowChanged(readBytes)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":197,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 577: internal var flowControlListener: FlowControlListener = FlowControlListener.None","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":577,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 607: fun flowControlListener(flowControlListener: FlowControlListener) =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":607,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 609: this.flowControlListener = flowControlListener","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":609,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 428: connection.flowControlListener.receivingStreamWindowChanged(id, readBytes, readBuffer.size)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":428,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 520: connection.flowControlListener.receivingStreamWindowChanged(id, readBytes, readBuffer.size)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":520,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"我想看看这个包装类是怎么处理底层套接字地址重用属性的。帮我找一下重写了获取地址重用状态逻辑的代码。","query":"getReuseAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt","symbol":"getReuseAddress","line":215,"lang":"zh","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt\nLine 216: override fun getReuseAddress(): Boolean = delegate!!.reuseAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt","line":216,"lexical":0.35,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeServerSocket.kt\nLine 114: override fun getReuseAddress() = reuseAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeServerSocket.kt","line":114,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 236: override fun getReuseAddress() = error(\"unsupported\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":236,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt\nLine 310: override fun getReuseAddress() = socket.reuseAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt","line":310,"lexical":0.35,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Wo wird die Antwort der Methode zur Initialisierung des Real-Time-Messaging-Protokolls verarbeitet?","query":"rtm start response","file":"samples/slack/src/main/java/okhttp3/slack/RtmStartResponse.java","symbol":"RtmStartResponse","line":22,"lang":"de","candidates":[{"text":"File: samples/slack/src/main/java/okhttp3/slack/RtmSession.java\nLine 38: RtmStartResponse rtmStartResponse = slackApi.rtmStart(accessToken);","file":"samples/slack/src/main/java/okhttp3/slack/RtmSession.java","line":38,"lexical":0.65,"target":false},{"text":"File: samples/slack/src/main/java/okhttp3/slack/RtmSession.java\nLine 39: webSocket = slackApi.rtm(rtmStartResponse.url, this);","file":"samples/slack/src/main/java/okhttp3/slack/RtmSession.java","line":39,"lexical":0.65,"target":false},{"text":"File: samples/slack/src/main/java/okhttp3/slack/RtmStartResponse.java\nLine 22: public final class RtmStartResponse {","file":"samples/slack/src/main/java/okhttp3/slack/RtmStartResponse.java","line":22,"lexical":0.65,"target":true},{"text":"File: samples/slack/src/main/java/okhttp3/slack/SlackApi.java\nLine 94: public RtmStartResponse rtmStart(String accessToken) throws IOException {","file":"samples/slack/src/main/java/okhttp3/slack/SlackApi.java","line":94,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/slack/src/main/java/okhttp3/slack/SlackApi.java\nLine 103: JsonAdapter jsonAdapter = moshi.adapter(RtmStartResponse.class);","file":"samples/slack/src/main/java/okhttp3/slack/SlackApi.java","line":103,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"parse permessage deflate with only server max window bits and verify it creates extension with both flags true","query":"permessage deflate server max window bits","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","symbol":"absentValue","line":250,"lang":"ko","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt\nLine 36: * Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits=\"15\"","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt","line":36,"lexical":0.6,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt\nLine 37: * Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits=15","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt","line":37,"lexical":0.6,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt\nLine 41: * Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits=\"15\";","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt","line":41,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 201: assertThat(parse(\"permessage-deflate; server_max_window_bits=8\")).isEqualTo(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":201,"lexical":0.6,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 202: WebSocketExtensions(perMessageDeflate = true, serverMaxWindowBits = 8),","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":202,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 204: assertThat(parse(\"permessage-deflate; server_max_window_bits=\\\"8\\\"\")).isEqualTo(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":204,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 205: WebSocketExtensions(perMessageDeflate = true, serverMaxWindowBits = 8),","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":205,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 207: assertThat(parse(\"permessage-deflate; server_max_window_bits=15\")).isEqualTo(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":207,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 208: WebSocketExtensions(perMessageDeflate = true, serverMaxWindowBits = 15),","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":208,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 210: assertThat(parse(\"permessage-deflate; server_max_window_bits=\\\"15\\\"\")).isEqualTo(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":210,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 211: WebSocketExtensions(perMessageDeflate = true, serverMaxWindowBits = 15),","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":211,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 213: assertThat(parse(\"permessage-deflate; server_max_window_bits\\t =\\t 8\\t \")).isEqualTo(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":213,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 214: WebSocketExtensions(perMessageDeflate = true, serverMaxWindowBits = 8),","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":214,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 216: assertThat(parse(\"permessage-deflate; server_max_window_bits\\t =\\t \\\"8\\\"\\t \")).isEqualTo(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":216,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 217: WebSocketExtensions(perMessageDeflate = true, serverMaxWindowBits = 8),","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":217,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 241: assertThat(parse(\"permessage-deflate; server_max_window_bits=true\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":241,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 252: assertThat(parse(\"permessage-deflate; server_max_window_bits\")).isEqualTo(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":252,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 1136: extensionNegotiationFailure(\"permessage-deflate; server_max_window_bits=7\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":1136,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 1142: extensionNegotiationFailure(\"permessage-deflate; server_max_window_bits=16\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":1142,"lexical":0.6,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 1148: successfulExtensions(\"permessage-deflate; server_max_window_bits=15\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":1148,"lexical":0.6,"target":false}]} {"site":"project_search","repo":"okhttp","task":"I'm trying to trace how the test framework handles cases where an expected response isn't met. Can you show me where the logging occurs when a call fails to satisfy the predefined assertions?","query":"satisfactionFailure log","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","symbol":"satisfactionFailure","line":207,"lang":"en","candidates":[{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 225: logWithTime(\"satisfactionFailure: $response\")","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":225,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 256: .assertLogMatch(Regex(\"\"\"satisfactionFailure: Response\\{protocol=h2, code=200, message=, url=$url\\}\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":256,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 211: logWithTime(\"satisfactionFailure\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":211,"lexical":0.39999999999999997,"target":true}]} {"site":"project_search","repo":"okhttp","task":"Il y a un problème avec la manière dont les sockets SSL sont configurés pour tester les différentes versions de protocoles TLS, ce qui pourrait fausser les résultats des tests de reconnexion.","query":"SSL socket TLS","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt","symbol":"createSocketWithEnabledProtocols","line":325,"lang":"fr","candidates":[{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt\nLine 61: adapter.configureTlsExtensions(sslSocket, null, listOf(HTTP_2, HTTP_1_1), null)","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt","line":61,"lexical":0.65,"target":false},{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt\nLine 92: adapter.configureTlsExtensions(sslSocket, null, listOf(HTTP_2, HTTP_1_1), null)","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt","line":92,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetworkPlatform.kt\nLine 138: return fakeTls.sslSocketFactory","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetworkPlatform.kt","line":138,"lexical":0.55,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 66: val clientSslSocket = clientTls.clientSocket(clientSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":66,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 67: val serverSslSocket = serverTls.serverSocket(serverSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":67,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 118: val clientSslSocket = clientTls.clientSocket(clientSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":118,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 119: val serverSslSocket = serverTls.serverSocket(serverSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":119,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 161: val clientSslSocket = clientTls.clientSocket(clientSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":161,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 162: val serverSslSocket = serverTls.serverSocket(serverSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":162,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 184: val clientSslSocket = clientTls.clientSocket(clientSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":184,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 200: val clientSslSocket = clientTls.clientSocket(clientSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":200,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 220: val clientSslSocket = clientTls.clientSocket(clientSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":220,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 240: val serverSslSocket = serverTls.clientSocket(serverSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":240,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 256: val serverSslSocket = serverTls.clientSocket(serverSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":256,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 276: val serverSslSocket = serverTls.clientSocket(serverSocket)","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":276,"lexical":0.65,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 777: HSPLokhttp3/internal/connection/ConnectPlan;->connectTls(Ljavax/net/ssl/SSLSocket;Lokhttp3/ConnectionSpec;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":777,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 977: HSPLokhttp3/internal/platform/Android10Platform;->configureTlsExtensions(Ljavax/net/ssl/SSLSocket;Ljava/lang/String;Ljava/util/List;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":977,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 993: HSPLokhttp3/internal/platform/android/Android10SocketAdapter;->configureTlsExtensions(Ljavax/net/ssl/SSLSocket;Ljava/lang/String;Ljava/util/List;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":993,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt\nLine 90: ?.configureTlsExtensions(sslSocket, hostname, protocols, echConfigList)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt","line":90,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt\nLine 102: ?.configureTlsExtensions(sslSocket, hostname, protocols, echConfigList)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt","line":102,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt\nLine 45: getDelegate(sslSocket)?.configureTlsExtensions(sslSocket, hostname, protocols, echConfigList)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt","line":45,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt\nLine 34: * SSL socket. For example, if an SSL socket does not have TLS 1.3 enabled, it will not be used even","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt","line":34,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt\nLine 105: sslSocket.enabledProtocols = specToApply.tlsVersionsAsString","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt","line":105,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt\nLine 114: * Returns a copy of this that omits cipher suites and TLS versions not enabled by [sslSocket].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt","line":114,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt\nLine 125: sslSocket.enabledProtocols.intersect(tlsVersionsAsString, naturalOrder())","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt","line":125,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 208: val tlsEquipPlan = planWithCurrentOrInitialConnectionSpec(connectionSpecs, sslSocket)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":208,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 211: connectionSpec.apply(sslSocket, isFallback = tlsEquipPlan.isTlsFallback)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":211,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 213: connectTls(sslSocket, connectionSpec)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":213,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 215: retryTlsConnection = tlsEquipPlan.nextConnectionSpec(connectionSpecs, sslSocket, e)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":215,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt\nLine 133: * Configure TLS extensions on `sslSocket` for `route`.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt","line":133,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt\nLine 74: super.configureTlsExtensions(sslSocket, hostname, protocols, echConfigList)","file":"okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt","line":74,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt\nLine 92: super.configureTlsExtensions(sslSocket, hostname, protocols, echConfigList)","file":"okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt","line":92,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"I'm trying to figure out how this class handles the buffering of the underlying data stream. Show me the logic that initializes the buffered reader from the response body.","query":"buffer source responseBody","file":"samples/guide/src/main/java/okhttp3/recipes/Progress.java","symbol":"source","line":101,"lang":"en","candidates":[{"text":"File: docs/changelogs/changelog_2x.md\nLine 548: `BufferedSink` and a `ResponseBody` as an Okio `BufferedSource`. Standard","file":"docs/changelogs/changelog_2x.md","line":548,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 559: `BufferedSource.toResponseBody()` to `BufferedSource.asResponseBody()`. If the returned value","file":"docs/changelogs/changelog_4x.md","line":559,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 137: | ResponseBody.create(BufferedSource) | BufferedSource.asResponseBody() |","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":137,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 224: GzipSource(buffer).use { gzippedResponseBody ->","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":224,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 301: GzipSource(buffer.clone()).use { gzippedResponseBody ->","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":301,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1290: public static final fun create (Lokhttp3/MediaType;JLokio/BufferedSource;)Lokhttp3/ResponseBody;","file":"okhttp/api/android/okhttp.api","line":1290,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1294: public static final fun create (Lokio/BufferedSource;Lokhttp3/MediaType;J)Lokhttp3/ResponseBody;","file":"okhttp/api/android/okhttp.api","line":1294,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1303: public final fun create (Lokhttp3/MediaType;JLokio/BufferedSource;)Lokhttp3/ResponseBody;","file":"okhttp/api/android/okhttp.api","line":1303,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1307: public final fun create (Lokio/BufferedSource;Lokhttp3/MediaType;J)Lokhttp3/ResponseBody;","file":"okhttp/api/android/okhttp.api","line":1307,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1311: public static synthetic fun create$default (Lokhttp3/ResponseBody$Companion;Lokio/BufferedSource;Lokhttp3/MediaType;JILjava/lang/Object;)Lokhttp3/ResponseBody;","file":"okhttp/api/android/okhttp.api","line":1311,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1289: public static final fun create (Lokhttp3/MediaType;JLokio/BufferedSource;)Lokhttp3/ResponseBody;","file":"okhttp/api/jvm/okhttp.api","line":1289,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1293: public static final fun create (Lokio/BufferedSource;Lokhttp3/MediaType;J)Lokhttp3/ResponseBody;","file":"okhttp/api/jvm/okhttp.api","line":1293,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1302: public final fun create (Lokhttp3/MediaType;JLokio/BufferedSource;)Lokhttp3/ResponseBody;","file":"okhttp/api/jvm/okhttp.api","line":1302,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1306: public final fun create (Lokio/BufferedSource;Lokhttp3/MediaType;J)Lokhttp3/ResponseBody;","file":"okhttp/api/jvm/okhttp.api","line":1306,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1310: public static synthetic fun create$default (Lokhttp3/ResponseBody$Companion;Lokio/BufferedSource;Lokhttp3/MediaType;JILjava/lang/Object;)Lokhttp3/ResponseBody;","file":"okhttp/api/jvm/okhttp.api","line":1310,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 707: HSPLokhttp3/internal/_ResponseBodyCommonKt$commonAsResponseBody$1;->(Lokhttp3/MediaType;JLokio/BufferedSource;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":707,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 791: HSPLokhttp3/internal/connection/Exchange$ResponseBodySource;->read(Lokio/Buffer;J)J","file":"okhttp/src/androidMain/baseline-prof.txt","line":791,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 860: HSPLokhttp3/internal/http/RealResponseBody;->(Ljava/lang/String;JLokio/BufferedSource;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":860,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 862: HSPLokhttp3/internal/http/RealResponseBody;->source()Lokio/BufferedSource;","file":"okhttp/src/androidMain/baseline-prof.txt","line":862,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 205: * This will typically return null until [ResponseBody.source] has buffered the last byte of the","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":205,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 269: fun BufferedSource.asResponseBody(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":269,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 278: override fun source(): BufferedSource = this@asResponseBody","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":278,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 234: .body(RealResponseBody(contentType, contentLength, cacheWritingSource.buffer()))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":234,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 143: return RealResponseBody(contentType, contentLength, source.buffer())","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":143,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt\nLine 106: responseBuilder.body(RealResponseBody(contentType, -1L, gzipSource.buffer()))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt","line":106,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4892: .body(closeTrackingSource.buffer().asResponseBody())","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4892,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt\nLine 107: return source.buffer().asResponseBody(null, -1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt","line":107,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt\nLine 86: return source.buffer().asResponseBody(null, -1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt","line":86,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/Progress.java\nLine 103: bufferedSource = Okio.buffer(source(responseBody.source()));","file":"samples/guide/src/main/java/okhttp3/recipes/Progress.java","line":103,"lexical":0.44999999999999996,"target":true}]} {"site":"project_search","repo":"okhttp","task":"Comment vérifier que toString() masque les en-têtes sensibles comme Authorization ou Cookie ?","query":"redact headers toString","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","symbol":"requestToStringRedactsSensitiveHeaders","line":364,"lang":"fr","candidates":[{"text":"File: CHANGELOG.md\nLine 739: * Fix: Change `Headers.toString()` to redact authorization and cookie headers.","file":"CHANGELOG.md","line":739,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt\nLine 239: @Test fun headersToStringRedactsSensitiveHeaders() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt","line":239,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 365: fun requestToStringRedactsSensitiveHeaders() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":365,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 555: fun requestToStringRedactsSensitiveHeaders() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":555,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"¿Cómo se gestiona la ejecución secuencial de la cadena de interceptores y qué validaciones se hacen para los de red?","query":"interceptor chain proceed","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","symbol":"proceed","line":311,"lang":"es","candidates":[{"text":"File: docs/features/interceptors.md\nLine 26: A call to `chain.proceed(request)` is a critical part of each interceptor’s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If `chain.proceed(request)` is being called more than …","file":"docs/features/interceptors.md","line":26,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 52: …and OkHttp follows this redirect automatically. Our application interceptor is called **once** and the response returned from `chain.proceed()` has the redirected response:","file":"docs/features/interceptors.md","line":52,"lexical":0.65,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 859: HSPLokhttp3/internal/http/RealInterceptorChain;->proceed(Lokhttp3/Request;)Lokhttp3/Response;","file":"okhttp/src/androidMain/baseline-prof.txt","line":859,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 153: * These interceptors must call [Interceptor.Chain.proceed] exactly once: it is an error for","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":153,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 697: * These interceptors must call [Interceptor.Chain.proceed] exactly once: it is an error for a","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":697,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 1793: return@Interceptor chain.proceed(chain.request())","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":1793,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 1802: return@Interceptor chain.proceed(chain.request())","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":1802,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"localize a função que foi substituída por uma propriedade e agora gera erro de compilação","query":"deprecated proxyselector","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt","symbol":"proxySelector","line":134,"lang":"pt","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 9: public final fun -deprecated_proxySelector ()Ljava/net/ProxySelector;","file":"okhttp/api/android/okhttp.api","line":9,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 987: public final fun -deprecated_proxySelector ()Ljava/net/ProxySelector;","file":"okhttp/api/android/okhttp.api","line":987,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 9: public final fun -deprecated_proxySelector ()Ljava/net/ProxySelector;","file":"okhttp/api/jvm/okhttp.api","line":9,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 986: public final fun -deprecated_proxySelector ()Ljava/net/ProxySelector;","file":"okhttp/api/jvm/okhttp.api","line":986,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt\nLine 134: @JvmName(\"-deprecated_proxySelector\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt","line":134,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 486: @JvmName(\"-deprecated_proxySelector\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":486,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"find the method that configures the limit for intermediate signing certificates","query":"max intermediate cas","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","symbol":"certificateAuthority","line":313,"lang":"en","candidates":[{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 199: private var maxIntermediateCas = -1","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":199,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 305: * Set this certificate to be a signing certificate, with up to `maxIntermediateCas`","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":305,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 313: fun certificateAuthority(maxIntermediateCas: Int) =","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":313,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 315: require(maxIntermediateCas >= 0) {","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":315,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 316: \"maxIntermediateCas < 0: $maxIntermediateCas\"","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":316,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 318: this.maxIntermediateCas = maxIntermediateCas","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":318,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 445: if (maxIntermediateCas != -1) {","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":445,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 453: maxIntermediateCas = maxIntermediateCas.toLong(),","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":453,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt\nLine 169: /** The maximum number of intermediate CAs between this and leaf certificates. */","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt","line":169,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt\nLine 170: val maxIntermediateCas: Long?,","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt","line":170,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt\nLine 169: it.maxIntermediateCas,","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt","line":169,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt\nLine 175: maxIntermediateCas = it[1] as Long?,","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt","line":175,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt\nLine 355: maxIntermediateCas = 1L,","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt","line":355,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt\nLine 696: maxIntermediateCas = null,","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt","line":696,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"쿼리 파라미터 인코딩 테스트할 때 특정 패턴으로 값을 앞뒤에 붙여서 검증하는 구현체가 어디 있어?","query":"url query encoding","file":"okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt","symbol":"QUERY","line":283,"lang":"ko","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 901: .test(UrlComponentEncodingTester.Component.QUERY)","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":901,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt\nLine 912: .test(UrlComponentEncodingTester.Component.QUERY_VALUE)","file":"okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt","line":912,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Was die Logik zum Beenden der zwischengespeicherten Anfrage und zum Schließen des Datenstroms?","query":"cacheRequest abort","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","symbol":"close","line":218,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 198: cacheRequest.abort() // Failed to write a complete cache response.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":198,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 224: cacheRequest.abort()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":224,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"I am working on the basic HTTP request recipe and need to see the code that sends a standard GET request to a public URL. Please locate the method that constructs the request and prints the response body.","query":"get request execute","file":"samples/guide/src/main/java/okhttp3/recipes/Authenticate.java","symbol":"run","line":44,"lang":"zh","candidates":[{"text":"File: maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java\nLine 35: try (Response response = client.newCall(new Request(url, Headers.EMPTY, \"GET\", null)).execute()) {","file":"maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java","line":35,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 662: val response1 = client.newCall(requestGet1).execute()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":662,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 348: executeSynchronously(getRequest)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":348,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 376: executeSynchronously(getRequest)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":376,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4584: client.newCall(request).execute() // Ignore the response so it gets leaked then GC'd.","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4584,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 4329: private fun getResponse(request: Request): Response = client.newCall(request).execute()","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":4329,"lexical":0.44999999999999996,"target":false},{"text":"File: regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt\nLine 54: val response = client.execute(request, LoggingCallback).get()","file":"regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt","line":54,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"メディアタイプから文字セット名を抽出して大文字で返す処理はどこにありますか?","query":"MediaType charsetName","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","symbol":"charsetName","line":31,"lang":"ja","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt\nLine 26: override fun MediaType.charsetName(): String? = this.charset()?.name()","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt","line":26,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt\nLine 32: assertEquals(\"UTF-8\", mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt","line":32,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt\nLine 90: assertNull(mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt","line":90,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt\nLine 95: assertNull(mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt","line":95,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt\nLine 100: assertNull(mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt","line":100,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt\nLine 105: assertNull(mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt","line":105,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt\nLine 31: open fun MediaType.charsetName(): String? = parameter(\"charset\")?.uppercase()","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","line":31,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt\nLine 46: assertEquals(\"UTF-8\", mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","line":46,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt\nLine 131: assertNull(mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","line":131,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt\nLine 136: assertEquals(\"UTF-8\", mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","line":136,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt\nLine 149: assertEquals(\"UTF-8\", mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","line":149,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt\nLine 162: assertEquals(\"UTF-8\", mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","line":162,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt\nLine 167: assertEquals(\"UTF-8\", mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","line":167,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt\nLine 172: assertEquals(\"UTF-8\", mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","line":172,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt\nLine 181: assertEquals(\"UTF-8\", mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","line":181,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt\nLine 188: assertNull(mediaType.charsetName())","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt","line":188,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Wie wird verhalten, wenn die Journal-Datei eine unvollständige letzte Zeile hat?","query":"journal truncated line","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","symbol":"openWithTruncatedLineDiscardsThatLine","line":455,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt\nLine 309: // If we ended on a truncated line, rebuild the journal before appending to it.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt","line":309,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 476: // The journal is not corrupt when editing after a truncated line.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":476,"lexical":0.44999999999999996,"target":true}]} {"site":"project_search","repo":"okhttp","task":"Como executar uma requisição HTTP de forma síncrona e capturar tanto a resposta quanto possíveis exceções de I/O?","query":"synchronous execute request","file":"okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt","symbol":"executeSynchronously","line":407,"lang":"pt","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 662: * Sets the dispatcher used to set policy and execute asynchronous requests. Must not be null.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":662,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 316: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":316,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 348: executeSynchronously(getRequest)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":348,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 371: executeSynchronously(headRequest)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":371,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 376: executeSynchronously(getRequest)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":376,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 403: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":403,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 434: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":434,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 588: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":588,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 619: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":619,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 636: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":636,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 669: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":669,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 700: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":700,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 720: executeSynchronously(request).assertCode(200)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":720,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1064: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1064,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1094: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1094,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1122: executeSynchronously(request).assertBody(\"abc\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1122,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1145: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1145,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1147: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1147,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3329: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3329,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3345: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3345,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3400: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3400,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3430: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3430,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3460: executeSynchronously(request).assertCode(200).assertSuccessful()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3460,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3487: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3487,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3514: executeSynchronously(request)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3514,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3573: executeSynchronously(Request(server.url(\"/\")))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3573,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3598: executeSynchronously(Request(server.url(\"/\")))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3598,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3617: executeSynchronously(Request(server.url(\"/\")))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3617,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3657: executeSynchronously(request).assertCode(200)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3657,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 3681: executeSynchronously(request).assertFailure(\"DNS returned no addresses for android.com\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":3681,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4037: executeSynchronously(request).assertSuccessful()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4037,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4086: executeSynchronously(request).assertSuccessful()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4086,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Ocorrendo um erro de comportamento ao tentar converter um arquivo local diretamente em um corpo de requisição para transmissão, pois parece haver uma falha na forma como os dados são lidos do sistema de arquivos para o fluxo de saída durante a escrita.","query":"file to requestbody","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","symbol":"asRequestBody","line":181,"lang":"pt","candidates":[{"text":"File: CHANGELOG.md\nLine 261: * New: `FileDescriptor.toRequestBody()` is now a non-experimental API.","file":"CHANGELOG.md","line":261,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 751: * New: `FileDescriptor.toRequestBody()` may be particularly useful for users of Android's Storage","file":"CHANGELOG.md","line":751,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 558: * New: Change the Kotlin API from `File.toRequestBody()` to `File.asRequestBody()` and","file":"docs/changelogs/changelog_4x.md","line":558,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 952: Upload a file to a server (for example, Imgur) and report progress as the request body is being written. You can implement a ProgressListener to receive updates and wrap the original request body with ProgressRequestBody. This allows you to monitor how man…","file":"docs/recipes.md","line":952,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1168: public static final fun create (Ljava/io/FileDescriptor;Lokhttp3/MediaType;)Lokhttp3/RequestBody;","file":"okhttp/api/android/okhttp.api","line":1168,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1190: public final fun create (Ljava/io/FileDescriptor;Lokhttp3/MediaType;)Lokhttp3/RequestBody;","file":"okhttp/api/android/okhttp.api","line":1190,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1205: public static synthetic fun create$default (Lokhttp3/RequestBody$Companion;Ljava/io/FileDescriptor;Lokhttp3/MediaType;ILjava/lang/Object;)Lokhttp3/RequestBody;","file":"okhttp/api/android/okhttp.api","line":1205,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1167: public static final fun create (Ljava/io/FileDescriptor;Lokhttp3/MediaType;)Lokhttp3/RequestBody;","file":"okhttp/api/jvm/okhttp.api","line":1167,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1189: public final fun create (Ljava/io/FileDescriptor;Lokhttp3/MediaType;)Lokhttp3/RequestBody;","file":"okhttp/api/jvm/okhttp.api","line":1189,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1204: public static synthetic fun create$default (Lokhttp3/RequestBody$Companion;Ljava/io/FileDescriptor;Lokhttp3/MediaType;ILjava/lang/Object;)Lokhttp3/RequestBody;","file":"okhttp/api/jvm/okhttp.api","line":1204,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 146: fun FileDescriptor.toRequestBody(contentType: MediaType? = null): RequestBody =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":146,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 153: FileInputStream(this@toRequestBody).use {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":153,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 1157: requestBody = File(\"\").asRequestBody(\"\".toMediaTypeOrNull())","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":1157,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt\nLine 148: \"... contents of file1.txt ...\".toRequestBody(\"text/plain\".toMediaType()),","file":"okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt","line":148,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt\nLine 104: val closedRequestBody = assertOnFileDescriptor { it.toRequestBody() }","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt","line":104,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"我想实现一个模拟响应,让它的内容直接用字符串设置。帮我找一下有没有这种便捷的重载方法,可以直接传入字符串而不需要手动处理 Buffer。","query":"response body string","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","symbol":"body","line":367,"lang":"zh","candidates":[{"text":"File: README.md\nLine 63: return response.body().string();","file":"README.md","line":63,"lexical":0.44999999999999996,"target":false},{"text":"File: README.md\nLine 86: return response.body().string();","file":"README.md","line":86,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/AndroidDnsTest.kt\nLine 72: assertThat(response.body.string()).isEqualTo(\"hello\")","file":"android-test/src/androidTest/java/okhttp/android/test/AndroidDnsTest.kt","line":72,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 78: val body = response.body.string()","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":78,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 89: val body = response.body.string()","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":89,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 107: val body = response.body.string()","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":107,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 153: val body = response.body.string()","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":153,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 166: val body = response.body.string()","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":166,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 180: val body = response.body.string()","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":180,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 516: moshi.adapter(HowsMySslResults::class.java).fromJson(response.body.string())!!","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":516,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt\nLine 97: assertThat(response.body.string()).contains(\"h=cloudflare-dns.com\")","file":"android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt","line":97,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt\nLine 118: assertThat(response.body.string()).contains(\"h=cloudflare-dns.com\")","file":"android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt","line":118,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 442: * New: `ResponseBody.create(MediaType, ByteString)`.","file":"docs/changelogs/changelog_3x.md","line":442,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 758: * New: Make `ResponseBody.string()` and `ResponseBody.charStream()` BOM-aware. If your HTTP","file":"docs/changelogs/changelog_3x.md","line":758,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 139: | ResponseBody.create(ByteString) | ByteString.toResponseBody() |","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":139,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 140: | ResponseBody.create(String) | String.toResponseBody() |","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":140,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/events.md\nLine 60: response.body().source().readByteString();","file":"docs/features/events.md","line":60,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/events.md\nLine 66: response.body().source().readByteString();","file":"docs/features/events.md","line":66,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/https.md\nLine 151: println(response.body!!.string())","file":"docs/features/https.md","line":151,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/https.md\nLine 195: System.out.println(response.body().string());","file":"docs/features/https.md","line":195,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 13: Download a file, print its headers, and print its response body as a string.","file":"docs/recipes.md","line":13,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 15: The `string()` method on response body is convenient and efficient for small documents. But if the response body is large (greater than 1 MiB), avoid `string()` because it will load the entire document into memory. In that case, prefer to process the body …","file":"docs/recipes.md","line":15,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 33: println(response.body!!.string())","file":"docs/recipes.md","line":33,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 54: System.out.println(response.body().string());","file":"docs/recipes.md","line":54,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 85: println(response.body!!.string())","file":"docs/recipes.md","line":85,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 114: System.out.println(responseBody.string());","file":"docs/recipes.md","line":114,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 201: println(response.body!!.string())","file":"docs/recipes.md","line":201,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 233: System.out.println(response.body().string());","file":"docs/recipes.md","line":233,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 275: println(response.body!!.string())","file":"docs/recipes.md","line":275,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 321: System.out.println(response.body().string());","file":"docs/recipes.md","line":321,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 345: println(response.body!!.string())","file":"docs/recipes.md","line":345,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 371: System.out.println(response.body().string());","file":"docs/recipes.md","line":371,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"lancer une tâche via l'exécuteur","query":"execute runnable task","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","symbol":"execute","line":299,"lang":"fr","candidates":[{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 757: HSPLokhttp3/internal/concurrent/TaskRunner$RealBackend;->execute(Lokhttp3/internal/concurrent/TaskRunner;Ljava/lang/Runnable;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":757,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 255: backend.execute(this@TaskRunner, runnable)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":255,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 513: taskRunner.newQueue().execute(name = connectionName, block = readerRunnable)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":513,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"trouve la fonction dépréciée qui permettait d'accéder au contenu de la requête","query":"deprecated body","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","symbol":"body","line":156,"lang":"fr","candidates":[{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 66: public final fun -deprecated_bodyLimit (J)V","file":"mockwebserver-deprecated/api/mockwebserver.api","line":66,"lexical":0.5,"target":false},{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 132: public final fun -deprecated_utf8Body ()Ljava/lang/String;","file":"mockwebserver-deprecated/api/mockwebserver.api","line":132,"lexical":0.5,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt\nLine 98: @JvmName(\"-deprecated_bodyLimit\")","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt","line":98,"lexical":0.5,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt\nLine 43: @get:JvmName(\"-deprecated_utf8Body\")","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt","line":43,"lexical":0.5,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 926: public final fun -deprecated_body ()Lokhttp3/RequestBody;","file":"okhttp/api/android/okhttp.api","line":926,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1107: public final fun -deprecated_body ()Lokhttp3/RequestBody;","file":"okhttp/api/android/okhttp.api","line":1107,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1214: public final fun -deprecated_body ()Lokhttp3/ResponseBody;","file":"okhttp/api/android/okhttp.api","line":1214,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 926: public final fun -deprecated_body ()Lokhttp3/RequestBody;","file":"okhttp/api/jvm/okhttp.api","line":926,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1106: public final fun -deprecated_body ()Lokhttp3/RequestBody;","file":"okhttp/api/jvm/okhttp.api","line":1106,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1213: public final fun -deprecated_body ()Lokhttp3/ResponseBody;","file":"okhttp/api/jvm/okhttp.api","line":1213,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt\nLine 197: @JvmName(\"-deprecated_body\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt","line":197,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 156: @JvmName(\"-deprecated_body\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":156,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 240: @JvmName(\"-deprecated_body\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":240,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"OkHttpClient のネットワーク呼び出しに関するライフサイクルイベントを監視するための、すべてのメソッドが高速で同期的に完了しなければならない抽象クラスを定義してください。","query":"OkHttp event listener interface","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","symbol":"EventListener","line":63,"lang":"ja","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 598: public abstract interface class okhttp3/EventListener$Factory {","file":"okhttp/api/android/okhttp.api","line":598,"lexical":0.65,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 598: public abstract interface class okhttp3/EventListener$Factory {","file":"okhttp/api/jvm/okhttp.api","line":598,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"vérifie si l'événement actuel correspond au début de l'envoi des en-têtes pour l'appel spécifique","query":"RequestHeadersStart call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","symbol":"closes","line":173,"lang":"fr","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 65: import okhttp3.CallEvent.RequestHeadersStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":65,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/api/logging-interceptor.api\nLine 62: public fun requestHeadersStart (Lokhttp3/Call;)V","file":"okhttp-logging-interceptor/api/logging-interceptor.api","line":62,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 148: override fun requestHeadersStart(call: Call) {","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":148,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 37: import okhttp3.CallEvent.RequestHeadersStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":37,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 173: override fun closes(event: CallEvent): Boolean = event is RequestHeadersStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":173,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 194: override fun closes(event: CallEvent): Boolean = event is RequestHeadersStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":194,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 134: override fun requestHeadersStart(call: Call) {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":134,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 45: import okhttp3.CallEvent.RequestHeadersStart","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":45,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 156: override fun requestHeadersStart(call: Call) =","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":156,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 583: public fun requestHeadersStart (Lokhttp3/Call;)V","file":"okhttp/api/android/okhttp.api","line":583,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 583: public fun requestHeadersStart (Lokhttp3/Call;)V","file":"okhttp/api/jvm/okhttp.api","line":583,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 611: HSPLokhttp3/EventListener;->requestHeadersStart(Lokhttp3/Call;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":611,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 266: open fun requestHeadersStart(call: Call) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":266,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 707: override fun requestHeadersStart(call: Call) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":707,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 709: delegate.requestHeadersStart(call)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":709,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 62: call.eventListener.requestHeadersStart(call)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":62,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 93: import okhttp3.CallEvent.RequestHeadersStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":93,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 2928: override fun requestHeadersStart(call: Call) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":2928,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 54: import okhttp3.CallEvent.RequestHeadersStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":54,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 72: import okhttp3.CallEvent.RequestHeadersStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":72,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 475: override fun requestHeadersStart(call: Call) = TODO()","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":475,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt\nLine 43: import okhttp3.CallEvent.RequestHeadersStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt","line":43,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt\nLine 267: override fun requestHeadersStart(call: Call) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt","line":267,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt\nLine 41: import okhttp3.CallEvent.RequestHeadersStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt","line":41,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt\nLine 67: override fun requestHeadersStart(call: Call) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt","line":67,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java\nLine 152: @Override public void requestHeadersStart(Call call) {","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","line":152,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java\nLine 127: @Override public void requestHeadersStart(Call call) {","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java","line":127,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Reportar que la función que se encarga de recibir los datos del evento, el tipo y el identificador no está haciendo nada por defecto, lo que hace que no se dispare ninguna acción si no se sobreescribe manualmente.","query":"on event data","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt","symbol":"onEvent","line":31,"lang":"es","candidates":[{"text":"File: docs/contribute/concurrency.md\nLine 32: Consider an application streaming a video over http/2. Perhaps the user pauses the video and the application stops reading bytes from this stream. The buffer will fill up, and flow control prevents the server from sending more data on this stream. When the…","file":"docs/contribute/concurrency.md","line":32,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt\nLine 124: listener.onEvent(this, id, type, data)","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt","line":124,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt\nLine 119: callback.onEvent(id, type, data.readUtf8())","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt","line":119,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt\nLine 121: |data: second event","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt","line":121,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt\nLine 185: |data: second event","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt","line":185,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt\nLine 207: |data: second event","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt","line":207,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 25: /** Data classes that correspond to each of the methods of [EventListener]. */","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":25,"lexical":0.65,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 843: HSPLokhttp3/internal/connection/RouteSelector;->(Lokhttp3/Address;Lokhttp3/internal/connection/RouteDatabase;Lokhttp3/Call;ZLokhttp3/EventListener;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":843,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 444: // flow-control window, we risk having it go to 0 preventing the server from sending data.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":444,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 552: // RST this stream to prevent additional data from being sent. This is safe because the input","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":552,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTester.kt\nLine 248: * Asserts that the next-posted event is a call to [Dns.Callback.onRecords] with service metadata.","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTester.kt","line":248,"lexical":0.55,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 2029: events.add(AssertionError(\"onData\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":2029,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"prüfe ob deflation mit kontextübernahme korrekt funktioniert","query":"websocket deflate context","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt","symbol":"`inflate deflate with context takeover`","line":82,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt\nLine 35: * Sec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt","line":35,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt\nLine 38: * Sec-WebSocket-Extensions: permessage-deflate; server_no_context_takeover","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt","line":38,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt\nLine 39: * Sec-WebSocket-Extensions: permessage-deflate; server_no_context_takeover;","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt","line":39,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 173: WebSocketExtensions(perMessageDeflate = true, serverNoContextTakeover = true),","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":173,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"find the function that validates header values for allowed printable ascii characters","query":"header value validation","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt","symbol":"headersCheckValue","line":151,"lang":"en","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt\nLine 242: * Add a header with the specified name and value. Does validation of header names and values.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt","line":242,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt\nLine 250: * Add a header with the specified name and value. Does validation of header names, allowing","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt","line":250,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt\nLine 304: * Add a field with the specified value without any validation. Only appropriate for headers","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt","line":304,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Wie prüfe ich, ob eine Fehlermeldung in den Test-Ergebnissen enthalten ist?","query":"assert failure message","file":"okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt","symbol":"assertFailure","line":153,"lang":"de","candidates":[{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 256: .assertLogMatch(Regex(\"\"\"satisfactionFailure: Response\\{protocol=h2, code=200, message=, url=$url\\}\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":256,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 327: listener.assertFailure(code = 401, message = \"{\\\"error\\\":{\\\"message\\\":\\\"No auth credentials found\\\",\\\"code\\\":401}}\")","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":327,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1678: assertThat(expected.message!!).startsWith(\"Certificate pinning failure!\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1678,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt\nLine 153: fun assertFailure(vararg messages: String) =","file":"okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt","line":153,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt\nLine 156: assertThat(messages).contains(failure!!.message)","file":"okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt","line":156,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 2077: assertThat(recordedRequest.failure!!).hasMessage(\"stream was reset: CANCEL\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":2077,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt\nLine 333: assertThat(expected.message!!).startsWith(\"Certificate pinning failure!\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt","line":333,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt\nLine 445: assertThat(expected.message!!).startsWith(\"Certificate pinning failure!\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt","line":445,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt\nLine 604: assertThat(expected.message!!).startsWith(\"Certificate pinning failure!\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt","line":604,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estoy implementando las pruebas de integración para los nuevos listeners de eventos. ¿Dónde puedo ver la implementación de la función que se dispara justo cuando finaliza la conexión?","query":"connectEnd listener","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","symbol":"connectEnd","line":450,"lang":"es","candidates":[{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 600: HSPLokhttp3/EventListener;->connectEnd(Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;Lokhttp3/Protocol;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":600,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 616: HSPLokhttp3/EventListener;->secureConnectEnd(Lokhttp3/Call;Lokhttp3/Handshake;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":616,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 218: call.eventListener.secureConnectEnd(call, handshake)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":218,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 245: call.eventListener.connectEnd(call, route.socketAddress, route.proxy, protocol)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":245,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 323: call.eventListener.connectEnd(call, route.socketAddress, route.proxy, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":323,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 564: connection.connectionListener.connectEnd(connection, route, call)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":564,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt\nLine 138: // connection.queueEvent { connectionListener.connectEnd(connection) }","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt","line":138,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt\nLine 227: listener.removeUpToEvent(ConnectionEvent.ConnectEnd::class.java)","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt","line":227,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt\nLine 339: val event = listener.removeUpToEvent(ConnectionEvent.ConnectEnd::class.java)","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt","line":339,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"How is a UTF-8 string extracted from the DER reader?","query":"decode utf8 string","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","symbol":"decode","line":176,"lang":"en","candidates":[{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt\nLine 151: override fun decode(reader: DerReader): String = reader.readUtf8String()","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","line":151,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt\nLine 176: override fun decode(reader: DerReader): String = reader.readUtf8String()","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","line":176,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt\nLine 198: override fun decode(reader: DerReader): String = reader.readUtf8String()","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","line":198,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt\nLine 39: Json.decodeFromString>(readUtf8())","file":"okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt","line":39,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"certpin 검사와 pin 생성 메서드 호출 테스트","query":"certificatePinner check pin","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","symbol":"certificatePinner","line":248,"lang":"ko","candidates":[{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 556: HSPLokhttp3/CertificatePinner;->check$okhttp(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":556,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 1593: Lokhttp3/CertificatePinner$check$1;","file":"okhttp/src/androidMain/baseline-prof.txt","line":1593,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt\nLine 71: * at okhttp3.CertificatePinner.check(CertificatePinner.java)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt","line":71,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 348: check(certificatePinner == CertificatePinner.DEFAULT)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":348,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 405: certificatePinner.check(address.url.host) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":405,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 221: address.certificatePinner!!.check(address.url.host, handshake()!!.peerCertificates)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":221,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 289: check(exchange == null) { \"certificatePinner can't be adjusted in a network interceptor\" }","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":289,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 40: certificatePinner.check(\"example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":40,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 78: certificatePinner.check(\"example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":78,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 88: certificatePinner.check(\"example.com\", certA1.certificate, certB1.certificate)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":88,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 98: certificatePinner.check(","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":98,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 112: certificatePinner.check(\"example.com\", certB1.certificate)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":112,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 123: certificatePinner.check(\"example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":123,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 124: certificatePinner.check(\"example.com\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":124,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 135: certificatePinner.check(\"example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":135,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 136: certificatePinner.check(\"www.example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":136,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 142: certificatePinner.check(\"example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":142,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 152: certificatePinner.check(\"a.example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":152,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 162: certificatePinner.check(","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":162,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 176: certificatePinner.check(\"a.example.com\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":176,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 187: certificatePinner.check(\"a.example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":187,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 188: certificatePinner.check(\"a.example.com\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":188,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 199: certificatePinner.check(\"a.example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":199,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 200: certificatePinner.check(\"a.example.com\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":200,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 212: certificatePinner.check(\"a.example.com\", listOf(certC1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":212,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 226: certificatePinner.check(\"example.co.uk\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":226,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 229: certificatePinner.check(\"foo.example.co.uk\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":229,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 232: certificatePinner.check(\"foo.bar.example.co.uk\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":232,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 235: certificatePinner.check(\"foo.bar.baz.example.co.uk\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":235,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 239: certificatePinner.check(\"uk\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":239,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 240: certificatePinner.check(\"co.uk\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":240,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 241: certificatePinner.check(\"anotherexample.co.uk\", listOf(certB1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":241,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Como converter uma string em uma regra ByteString, ignorando linhas vazias ou comentários?","query":"string to rule ByteString","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt","symbol":"toRule","line":102,"lang":"pt","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt\nLine 85: var rule: ByteString = source.readUtf8LineStrict().toRule() ?: continue","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt","line":85,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt\nLine 102: private fun String.toRule(): ByteString? {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt","line":102,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estoy revisando cómo se gestionan las direcciones de red en la implementación de los sockets seguros. ¿Podrías mostrarme dónde se redirige la llamada para obtener la dirección IP en la clase que actúa como intermediaria?","query":"delegate inetAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt","symbol":"getInetAddress","line":111,"lang":"es","candidates":[{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt\nLine 164: delegate.start(inetAddress, port)","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt","line":164,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt\nLine 111: override fun getInetAddress(): InetAddress = delegate!!.inetAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt","line":111,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt\nLine 119: override fun getLocalAddress(): InetAddress = delegate!!.localAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt","line":119,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 637: delegate.dnsEnd(call, domainName, inetAddressList)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":637,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt\nLine 63: val inetAddresses = delegate.lookup(request.hostname)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/LookupDnsCall.kt","line":63,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"erzeuge eine neue instanz für den asynchronen sse-stream mit einem listener","query":"create event source","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt","symbol":"newEventSource","line":36,"lang":"de","candidates":[{"text":"File: CHANGELOG.md\nLine 745: * Fix: Don't crash when canceling an event source created by `EventSources.processResponse()`.","file":"CHANGELOG.md","line":745,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/api/okhttp-sse.api\nLine 20: public static final fun createFactory (Lokhttp3/Call$Factory;)Lokhttp3/sse/EventSource$Factory;","file":"okhttp-sse/api/okhttp-sse.api","line":20,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/api/okhttp-sse.api\nLine 21: public static final synthetic fun createFactory (Lokhttp3/OkHttpClient;)Lokhttp3/sse/EventSource$Factory;","file":"okhttp-sse/api/okhttp-sse.api","line":21,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt\nLine 32: * Creates a new event source and immediately returns it. Creating an event source initiates an","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt","line":32,"lexical":0.65,"target":true},{"text":"File: okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt\nLine 32: fun createFactory(callFactory: Call.Factory): EventSource.Factory =","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt","line":32,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 47: import okhttp3.sse.EventSources.createFactory","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":47,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"如何在不阻塞的情况下获取客户端当前可立即读取的字节数?","query":"client source buffer size","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","symbol":"clientSourceBufferSize","line":541,"lang":"zh","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 431: assertThat(client.clientSourceBufferSize())","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":431,"lexical":0.5,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 445: assertThat(client.clientSourceBufferSize())","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":445,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 459: assertThat(client.clientSourceBufferSize())","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":459,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 541: fun clientSourceBufferSize(): Long {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":541,"lexical":0.5,"target":false}]} {"site":"project_search","repo":"okhttp","task":"¿Dónde está la lógica que convierte direcciones IPv6 mapeadas en IPv4 a su formato simplificado?","query":"canonicalizeInetAddress IPv4","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt","symbol":"canonicalizeInetAddressNotMapped","line":23,"lang":"es","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt\nLine 51: assertThat(canonicalizeInetAddress(addressAIpv6)).isEqualTo(addressAIpv4)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt","line":51,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt\nLine 55: assertThat(canonicalizeInetAddress(addressBIpv6)).isEqualTo(addressBIpv4)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt","line":55,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt\nLine 59: fun canonicalizeInetAddressIPv6RepresentationOfCompatibleIPV4() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt","line":59,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt\nLine 73: fun canonicalizeInetAddressIPv6RepresentationOfMappedIPV4() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt","line":73,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"验证证书固定失败时是否正确抛出SSLPeerUnverifiedException,包括处理嵌套异常的情况","query":"certificate pinning failure","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","symbol":"testCertificatePinningFailure","line":553,"lang":"zh","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 554: fun testCertificatePinningFailure() {","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":554,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt\nLine 63: * javax.net.ssl.SSLPeerUnverifiedException: Certificate pinning failure!","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt","line":63,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt\nLine 193: append(\"Certificate pinning failure!\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt","line":193,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1678: assertThat(expected.message!!).startsWith(\"Certificate pinning failure!\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1678,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt\nLine 333: assertThat(expected.message!!).startsWith(\"Certificate pinning failure!\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt","line":333,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt\nLine 445: assertThat(expected.message!!).startsWith(\"Certificate pinning failure!\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt","line":445,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt\nLine 604: assertThat(expected.message!!).startsWith(\"Certificate pinning failure!\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt","line":604,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"O cliente está recebendo um fluxo de dados incorreto quando o servidor não envia o cabeçalho de tamanho do conteúdo, mas a resposta não é do tipo chunked. O comportamento de fallback para o modo de comprimento desconhecido parece não estar sendo aplicado corretamente em todos os cenários de resposta HTTP/1.1.","query":"open response source","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","symbol":"openResponseBodySource","line":148,"lang":"pt","candidates":[{"text":"File: okhttp-sse/api/okhttp-sse.api\nLine 15: public fun onOpen (Lokhttp3/sse/EventSource;Lokhttp3/Response;)V","file":"okhttp-sse/api/okhttp-sse.api","line":15,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt\nLine 43: events.add(Open(eventSource, response))","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt","line":43,"lexical":0.65,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 921: HSPLokhttp3/internal/http2/Http2ExchangeCodec;->openResponseBodySource(Lokhttp3/Response;)Lokio/Source;","file":"okhttp/src/androidMain/baseline-prof.txt","line":921,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 41: * an open file (for cached responses). Failing to close the response body will leak resources and","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":41,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 136: val rawSource = codec.openResponseBodySource(response)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":136,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 302: check(!responseBodyOpen && !requestBodyOpen && !socketSourceOpen && !socketSinkOpen)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":302,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 384: callDone = !requestBodyOpen && !responseBodyOpen && !socketSinkOpen && !socketSourceOpen","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":384,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 397: * [requestBodyOpen], [responseBodyOpen], [socketSinkOpen], [socketSourceOpen], and","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":397,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt\nLine 73: fun openResponseBodySource(response: Response): Source","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt","line":73,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 55: * 5. Open a source to read the response body. Either [fixed-length][newFixedLengthSource],","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":55,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 148: override fun openResponseBodySource(response: Response): Source =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":148,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt\nLine 120: override fun openResponseBodySource(response: Response): Source = stream!!.source","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt","line":120,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"create a helper to set up an rsa key with 2048 bit size","query":"rsa 2048","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","symbol":"rsa2048","line":338,"lang":"en","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt\nLine 342: isBouncyCastle() -> localhostHandshakeCertificatesWithRsa2048","file":"okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt","line":342,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt\nLine 362: * to use RSA-2048 instead.","file":"okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt","line":362,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt\nLine 366: private val localhostHandshakeCertificatesWithRsa2048: HandshakeCertificates by lazy {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt","line":366,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt\nLine 372: .rsa2048()","file":"okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt","line":372,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-tls/README.md\nLine 222: clients use `HeldCertificate.Builder.rsa2048()`.","file":"okhttp-tls/README.md","line":222,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-tls/api/okhttp-tls.api\nLine 50: public final fun rsa2048 ()Lokhttp3/tls/HeldCertificate$Builder;","file":"okhttp-tls/api/okhttp-tls.api","line":50,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 335: * Configure the certificate to generate a 2048-bit RSA key, which provides about 112 bits of","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":335,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 338: fun rsa2048() =","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":338,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt\nLine 166: .rsa2048()","file":"okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt","line":166,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt\nLine 233: .rsa2048()","file":"okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt","line":233,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt\nLine 258: .rsa2048()","file":"okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt","line":258,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt\nLine 376: fun decodeRsa2048() {","file":"okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt","line":376,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt\nLine 386: // .rsa2048()","file":"okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt","line":386,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt\nLine 945: .rsa2048()","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt","line":945,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt\nLine 951: .rsa2048()","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt","line":951,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 756: builder = builder.rsa2048()","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":756,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt\nLine 808: // -newkey rsa:2048 -out cert.pem","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt","line":808,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"특정 보안 설정에서 TLS 버전이랑 암호화 스위트 목록 가져오는 테스트 코드 어디 있어?","query":"ConnectionSpec TLS","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt","symbol":"connectionSpec","line":123,"lang":"ko","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt\nLine 65: .Builder(ConnectionSpec.MODERN_TLS)","file":"android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt","line":65,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_2x.md\nLine 398: ConnectionSpec.MODERN_TLS, ConnectionSpec.CLEARTEXT));","file":"docs/changelogs/changelog_2x.md","line":398,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_2x.md\nLine 405: ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS));","file":"docs/changelogs/changelog_2x.md","line":405,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 194: .connectionSpecs(Arrays.asList(ConnectionSpec.COMPATIBLE_TLS))","file":"docs/changelogs/changelog_3x.md","line":194,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 82: * **ConnectionSpec**: cipherSuites, supportsTlsExtensions, tlsVersions","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":82,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/features/https.md\nLine 20: By default, OkHttp will attempt a `MODERN_TLS` connection. However by configuring the client connectionSpecs you can allow a fall back to `COMPATIBLE_TLS` connection if the modern configuration fails.","file":"docs/features/https.md","line":20,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/features/https.md\nLine 24: .connectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))","file":"docs/features/https.md","line":24,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/features/https.md\nLine 33: ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)","file":"docs/features/https.md","line":33,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt\nLine 66: ConnectionSpec.MODERN_TLS,","file":"okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt","line":66,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt\nLine 67: ConnectionSpec.COMPATIBLE_TLS,","file":"okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt","line":67,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 362: public static final field COMPATIBLE_TLS Lokhttp3/ConnectionSpec;","file":"okhttp/api/android/okhttp.api","line":362,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 364: public static final field MODERN_TLS Lokhttp3/ConnectionSpec;","file":"okhttp/api/android/okhttp.api","line":364,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 365: public static final field RESTRICTED_TLS Lokhttp3/ConnectionSpec;","file":"okhttp/api/android/okhttp.api","line":365,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 382: public final fun allEnabledTlsVersions ()Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/api/android/okhttp.api","line":382,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 386: public final fun supportsTlsExtensions (Z)Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/api/android/okhttp.api","line":386,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 387: public final fun tlsVersions ([Ljava/lang/String;)Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/api/android/okhttp.api","line":387,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 388: public final fun tlsVersions ([Lokhttp3/TlsVersion;)Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/api/android/okhttp.api","line":388,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 362: public static final field COMPATIBLE_TLS Lokhttp3/ConnectionSpec;","file":"okhttp/api/jvm/okhttp.api","line":362,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 364: public static final field MODERN_TLS Lokhttp3/ConnectionSpec;","file":"okhttp/api/jvm/okhttp.api","line":364,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 365: public static final field RESTRICTED_TLS Lokhttp3/ConnectionSpec;","file":"okhttp/api/jvm/okhttp.api","line":365,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 382: public final fun allEnabledTlsVersions ()Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/api/jvm/okhttp.api","line":382,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 386: public final fun supportsTlsExtensions (Z)Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/api/jvm/okhttp.api","line":386,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 387: public final fun tlsVersions ([Ljava/lang/String;)Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/api/jvm/okhttp.api","line":387,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 388: public final fun tlsVersions ([Lokhttp3/TlsVersion;)Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/api/jvm/okhttp.api","line":388,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 574: HSPLokhttp3/ConnectionSpec$Builder;->supportsTlsExtensions(Z)Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/src/androidMain/baseline-prof.txt","line":574,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 575: HSPLokhttp3/ConnectionSpec$Builder;->tlsVersions([Ljava/lang/String;)Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/src/androidMain/baseline-prof.txt","line":575,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 576: HSPLokhttp3/ConnectionSpec$Builder;->tlsVersions([Lokhttp3/TlsVersion;)Lokhttp3/ConnectionSpec$Builder;","file":"okhttp/src/androidMain/baseline-prof.txt","line":576,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 583: HSPLokhttp3/ConnectionSpec;->tlsVersions()Ljava/util/List;","file":"okhttp/src/androidMain/baseline-prof.txt","line":583,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 777: HSPLokhttp3/internal/connection/ConnectPlan;->connectTls(Ljavax/net/ssl/SSLSocket;Lokhttp3/ConnectionSpec;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":777,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt\nLine 211: if (!isTls) return \"ConnectionSpec()\"","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt","line":211,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt\nLine 232: this.tls = connectionSpec.isTls","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt","line":232,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt\nLine 234: this.tlsVersions = connectionSpec.tlsVersionsAsString","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt","line":234,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Je cherche l'endroit où est gérée la file d'attente des requêtes enregistrées et la gestion des sockets pour le serveur de test. Peux-tu me montrer la classe principale qui simule les réponses HTTP et gère le cycle de vie des connexions ?","query":"mock http server","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","symbol":"MockWebServer","line":97,"lang":"fr","candidates":[{"text":"File: CHANGELOG.md\nLine 217: intend to continue publishing the old `okhttp3.mockwebserver` artifact so there’s no urgency to","file":"CHANGELOG.md","line":217,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 222: | com.squareup.okhttp3:mockwebserver3:5.0.0 | mockwebserver3 | Core module. No JUnit dependency! |","file":"CHANGELOG.md","line":222,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 223: | com.squareup.okhttp3:mockwebserver3-junit4:5.0.0 | mockwebserver3.junit4 | Optional JUnit 4 integration. |","file":"CHANGELOG.md","line":223,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 224: | com.squareup.okhttp3:mockwebserver3-junit5:5.0.0 | mockwebserver3.junit5 | Optional JUnit 5 integration. |","file":"CHANGELOG.md","line":224,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 225: | com.squareup.okhttp3:mockwebserver:5.0.0 | okhttp3.mockwebserver | Obsolete. Depends on JUnit 4. |","file":"CHANGELOG.md","line":225,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 245: * Fix: Retain the query data in the old `okhttp3.mockwebserver.RecordedRequest.path` property. We","file":"CHANGELOG.md","line":245,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 604: * New: Drop the `tunnelProxy` argument in `MockWebServer.useHttps()`. This change only impacts","file":"CHANGELOG.md","line":604,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 605: the OkHttp 5.x API which uses the `mockwebserver3` package.","file":"CHANGELOG.md","line":605,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 637: are changed; the old `okhttp3.mockwebserver` APIs remain as they always have been.","file":"CHANGELOG.md","line":637,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 668: * New: MockWebServer has improved support for HTTP/1xx responses. Once you've migrated to the new","file":"CHANGELOG.md","line":668,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 767: | com.squareup.okhttp3:mockwebserver3:5.0.0-alpha.2 | mockwebserver3 | Core module. No JUnit dependency! |","file":"CHANGELOG.md","line":767,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 768: | com.squareup.okhttp3:mockwebserver3-junit4:5.0.0-alpha.2 | mockwebserver3.junit4 | Optional JUnit 4 integration. |","file":"CHANGELOG.md","line":768,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 769: | com.squareup.okhttp3:mockwebserver3-junit5:5.0.0-alpha.2 | mockwebserver3.junit5 | Optional JUnit 5 integration. |","file":"CHANGELOG.md","line":769,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 770: | com.squareup.okhttp3:mockwebserver:5.0.0-alpha.2 | okhttp3.mockwebserver | Obsolete. Depends on JUnit 4. |","file":"CHANGELOG.md","line":770,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 775: If you have code that subclasses `okhttp3.mockwebserver.QueueDispatcher`, this update is not source","file":"CHANGELOG.md","line":775,"lexical":0.44999999999999996,"target":false},{"text":"File: README.md\nLine 194: The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/5.5.0/jar).","file":"README.md","line":194,"lexical":0.44999999999999996,"target":false},{"text":"File: README.md\nLine 197: testImplementation(\"com.squareup.okhttp3:mockwebserver3:5.5.0\")","file":"README.md","line":197,"lexical":0.44999999999999996,"target":false},{"text":"File: README.md\nLine 200: MockWebServer is used for firstly for internal testing, and for basic testing of apps using OkHttp client.","file":"README.md","line":200,"lexical":0.44999999999999996,"target":false},{"text":"File: README.md\nLine 203: more full featured testing library such as [MockServer](https://www.mock-server.com/).","file":"README.md","line":203,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_1x.md\nLine 101: * New: Support for \"PATCH\" HTTP method in client and MockWebServer.","file":"docs/changelogs/changelog_1x.md","line":101,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_1x.md\nLine 149: * Bring MockWebServer into OkHttp and teach it SPDY.","file":"docs/changelogs/changelog_1x.md","line":149,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_2x.md\nLine 173: * Fix: Change `MockWebServer` to use the same logic as OkHttp when determining","file":"docs/changelogs/changelog_2x.md","line":173,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_2x.md\nLine 272: * Fix: Better handling of uncaught exceptions in MockWebServer with HTTP/2.","file":"docs/changelogs/changelog_2x.md","line":272,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 402: These classes make it possible to enable HTTPS in MockWebServer in [just a few lines of","file":"docs/changelogs/changelog_3x.md","line":402,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 607: * Fix: Omit the message from MockWebServer's HTTP/2 `:status` header.","file":"docs/changelogs/changelog_3x.md","line":607,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 705: * New: MockWebServer's `RecordedRequest` exposes the requested `HttpUrl` with `getRequestUrl()`.","file":"docs/changelogs/changelog_3x.md","line":705,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 1003: * Fix: improve the default HTTP message in MockWebServer responses.","file":"docs/changelogs/changelog_3x.md","line":1003,"lexical":0.44999999999999996,"target":false},{"text":"File: maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java\nLine 36: new SampleHttpClient().makeCall(mockWebServer.url(\"/\"));","file":"maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java","line":36,"lexical":0.55,"target":false},{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 1: public abstract class okhttp3/mockwebserver/Dispatcher {","file":"mockwebserver-deprecated/api/mockwebserver.api","line":1,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 3: public abstract fun dispatch (Lokhttp3/mockwebserver/RecordedRequest;)Lokhttp3/mockwebserver/MockResponse;","file":"mockwebserver-deprecated/api/mockwebserver.api","line":3,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 4: public fun peek ()Lokhttp3/mockwebserver/MockResponse;","file":"mockwebserver-deprecated/api/mockwebserver.api","line":4,"lexical":0.65,"target":false},{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 8: public final class okhttp3/mockwebserver/MockResponse : java/lang/Cloneable {","file":"mockwebserver-deprecated/api/mockwebserver.api","line":8,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"obtener la instancia de la plataforma actual","query":"get platform","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt","symbol":"get","line":238,"lang":"es","candidates":[{"text":"File: README.md\nLine 226: okhttp3.internal.platform.Platform.get();","file":"README.md","line":226,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 153: PlatformRegistry.applicationContext = ApplicationProvider.getApplicationContext()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":153,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 161: assertTrue(Platform.get() is Android10Platform)","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":161,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 163: assertTrue(Platform.get() is AndroidPlatform)","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":163,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 519: Platform.get().log(\"results $results\", Platform.WARN)","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":519,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 784: Platform.get().newSSLContext().apply {","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":784,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 867: Platform.get().newSSLContext().apply {","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":867,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 947: Platform.get().newSSLContext().apply {","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":947,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt\nLine 61: val logs = ShadowLog.getLogsForTag(AndroidPlatform.Tag)","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt","line":61,"lexical":0.39999999999999997,"target":false},{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt\nLine 88: val logs = ShadowLog.getLogsForTag(AndroidPlatform.Tag)","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt","line":88,"lexical":0.39999999999999997,"target":false},{"text":"File: build-logic/src/main/kotlin/okhttp3/buildsupport/OkHttpBuildUtils.kt\nLine 21: get() = findProperty(\"okhttp.platform\")?.toString() ?: \"jdk9\"","file":"build-logic/src/main/kotlin/okhttp3/buildsupport/OkHttpBuildUtils.kt","line":21,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 887: * New: Support prerelease Java 9. This gets ALPN from the platform rather than","file":"docs/changelogs/changelog_3x.md","line":887,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 331: ?: (Platform.get().serverSocketFactory.also { this.serverSocketFactory_ = it })","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":331,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 476: Platform.get().configureTlsExtensions(","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":476,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 490: val protocolString = Platform.get().getSelectedProtocol(sslSocket)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":490,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 496: Platform.get().afterHandshake(sslSocket)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":496,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt\nLine 95: ?.let { Platform.Companion.get().getHandshakeServerNames(it) }","file":"mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt","line":95,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt\nLine 54: val protocolString = Platform.get().getSelectedProtocol(sslSocket)","file":"mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt","line":54,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt\nLine 85: Platform.get().configureTlsExtensions(","file":"mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt","line":85,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt\nLine 121: Platform.get().log(\"Failure serving Http2Stream: \" + e.message, Platform.INFO, null)","file":"mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt","line":121,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt\nLine 179: Platform.get().log(\"Unexpected protocol: ${response.protocol}\", Platform.WARN)","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt","line":179,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt\nLine 48: Platform.get().log(\"Saving cookies failed for \" + url.resolve(\"/...\")!!, WARN, e)","file":"okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt","line":48,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt\nLine 58: Platform.get().log(\"Loading cookies failed for \" + url.resolve(\"/...\")!!, WARN, e)","file":"okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt","line":58,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 125: Platform.get().log(message)","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":125,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt\nLine 26: import okhttp3.internal.platform.Platform.Companion.get","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt","line":26,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt\nLine 42: get().log(\"[ES] onOpen\", Platform.INFO, null)","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt","line":42,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt\nLine 53: get().log(\"[ES] onEvent\", Platform.INFO, null)","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt","line":53,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt\nLine 59: get().log(\"[ES] onClosed\", Platform.INFO, null)","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt","line":59,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt\nLine 69: get().log(\"[ES] onFailure\", Platform.INFO, t)","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt","line":69,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 41: import okhttp3.testing.PlatformRule.Companion.getPlatformSystemProperty","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":41,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 201: private fun isLoom(): Boolean = getPlatformSystemProperty() == LOOM_PROPERTY","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":201,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt\nLine 49: Platform.get().log(\"Socket connection to: $inetSocketAddress was: $requested\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt","line":49,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"suche die überschreibung die die maximale länge als long zurückgibt","query":"contentLength Int.MAX_VALUE","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","symbol":"contentLength","line":302,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 142: if (contentLength > Int.MAX_VALUE) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":142,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt\nLine 302: override fun contentLength(): Long = Int.MAX_VALUE + 1L","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","line":302,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt\nLine 378: override fun contentLength(): Long = Int.MAX_VALUE + 1L","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","line":378,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 4041: val contentLength = Int.MAX_VALUE + 1L","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":4041,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"tlsのエラー発生時に接続を再試行するオケークライアントのテストを設定する","query":"tls retry test","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt","symbol":"RetryConnectionTest","line":52,"lang":"ja","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt\nLine 622: * This test confirms that we prefer to do the TLS follow-up (plan2) before the TCP retry (plan3).","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt","line":622,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt\nLine 109: @Test fun echRetryConfigIsUsedOnceWithoutTlsFallback() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt","line":109,"lexical":0.65,"target":true}]} {"site":"project_search","repo":"okhttp","task":"指定されたヘッダ名に一致する値を全て取得したい。大文字小文字は区別しないように。","query":"get header values","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt","symbol":"commonValues","line":31,"lang":"ja","candidates":[{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt\nLine 149: fun getHeader(name: String): String? = headers.values(name).firstOrNull()","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt","line":149,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt\nLine 70: operator fun get(name: String): String? = commonHeadersGet(namesAndValues, name)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt","line":70,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt\nLine 26: internal fun Headers.commonName(index: Int): String = namesAndValues.getOrNull(index * 2) ?: throw IndexOutOfBoundsException(\"name[$index]\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt","line":26,"lexical":0.65,"target":true}]} {"site":"project_search","repo":"okhttp","task":"suche die stelle wo eingehende nachrichten als event registriert werden","query":"onReadMessage Message","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt","symbol":"onReadMessage","line":218,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 393: override fun onReadMessage(text: String) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":393,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 398: override fun onReadMessage(bytes: ByteString) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":398,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt\nLine 84: fun onReadMessage(text: String)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt","line":84,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt\nLine 87: fun onReadMessage(bytes: ByteString)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt","line":87,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt\nLine 103: * * If it is a message frame this will result in a single call to [FrameCallback.onReadMessage].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt","line":103,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt\nLine 263: frameCallback.onReadMessage(messageFrameBuffer.readUtf8())","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt","line":263,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt\nLine 265: frameCallback.onReadMessage(messageFrameBuffer.readByteString())","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt","line":265,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt\nLine 214: override fun onReadMessage(text: String) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt","line":214,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt\nLine 218: override fun onReadMessage(bytes: ByteString) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt","line":218,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"这个方法是怎么把默认加密套件列表转发给代理对象的?","query":"getDefaultCipherSuites delegate","file":"samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java","symbol":"getDefaultCipherSuites","line":118,"lang":"zh","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocketFactory.kt\nLine 77: override fun getDefaultCipherSuites(): Array = delegate.defaultCipherSuites","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocketFactory.kt","line":77,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java\nLine 119: return delegate.getDefaultCipherSuites();","file":"samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java","line":119,"lexical":0.39999999999999997,"target":true}]} {"site":"project_search","repo":"okhttp","task":"verifica que el websocket se cierre con el código y motivo esperados","query":"assert websocket close","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt","symbol":"assertClosed","line":158,"lang":"es","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt\nLine 74: assertThat(client.webSocketCloseTimeout).isEqualTo(60_000)","file":"okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt","line":74,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 102: assertThat(client.webSocket!!.close(1000, \"Hello!\")).isFalse()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":102,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 160: assertThat(client.webSocket!!.close(1000, \"Bye!\")).isTrue()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":160,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 176: assertThat(client.webSocket!!.close(1000, \"Bye!\")).isTrue()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":176,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 593: closeWebSockets(webSocket, serverListener.assertOpen())","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":593,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 755: assertThat(webSocket.close(1000, null)).isFalse()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":755,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 780: assertThat(webSocket.close(1000, null)).isFalse()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":780,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estoy implementando un test para interceptar el contenido de una respuesta. ¿Dónde puedo encontrar la implementación que redirige la lectura del flujo de datos al objeto original?","query":"delegate source buffered","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.kt","symbol":"source","line":31,"lang":"es","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.kt\nLine 31: override fun source(): BufferedSource = delegate.source()","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.kt","line":31,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt\nLine 33: override fun source(): BufferedSource = uppercaseSource(delegate().source()).buffer()","file":"okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt","line":33,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"XML 응답 타입 반환하는 부분 어디 있어?","query":"application/xml MediaType","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt","symbol":"contentType","line":118,"lang":"ko","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt\nLine 118: override fun contentType(): MediaType = \"application/xml\".toMediaType()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt","line":118,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt\nLine 128: override fun contentType(): MediaType = \"application/xml\".toMediaType()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt","line":128,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"O processo de finalização da troca de dados parece estar ignorando o erro passado como argumento se o estado de conclusão já tiver sido atingido, impedindo que a exceção original seja propagada.","query":"complete IOException","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","symbol":"complete","line":310,"lang":"pt","candidates":[{"text":"File: docs/features/calls.md\nLine 46: Calls can be canceled from any thread. This will fail the call if it hasn’t yet completed! Code that is writing the request body or reading the response body will suffer an `IOException` when its call is canceled.","file":"docs/features/calls.md","line":46,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 786: HSPLokhttp3/internal/connection/Exchange$RequestBodySink;->complete(Ljava/io/IOException;)Ljava/io/IOException;","file":"okhttp/src/androidMain/baseline-prof.txt","line":786,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 790: HSPLokhttp3/internal/connection/Exchange$ResponseBodySource;->complete(Ljava/io/IOException;)Ljava/io/IOException;","file":"okhttp/src/androidMain/baseline-prof.txt","line":790,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 793: HSPLokhttp3/internal/connection/Exchange;->bodyComplete(JZZLjava/io/IOException;)Ljava/io/IOException;","file":"okhttp/src/androidMain/baseline-prof.txt","line":793,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt\nLine 226: /** Run [block] until it either throws an [IOException] or completes. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt","line":226,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 310: private fun complete(e: IOException?): IOException? {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":310,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 387: fun complete(e: IOException?): IOException? {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":387,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-ExecuteDns.kt\nLine 62: private fun complete(e: IOException? = null) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/-ExecuteDns.kt","line":62,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estou escrevendo um teste para validar o comportamento de conexão em sockets. Você pode encontrar o teste que verifica se uma exceção é lançada quando tentamos conectar um socket que foi fechado logo após a criação?","query":"socket closed exception","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeNetworkTest.kt","symbol":"`connect fails because client is closed`","line":177,"lang":"pt","candidates":[{"text":"File: docs/changelogs/changelog_4x.md\nLine 367: * Fix: Don't crash with a `NullPointerException` when a web socket is closed before it connects.","file":"docs/changelogs/changelog_4x.md","line":367,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt\nLine 113: if (javaNetSocket.isClosed) throw InterruptedIOException(\"socket closed\")","file":"mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt","line":113,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeConnection.kt\nLine 68: if (closed) throw SocketException(\"closed\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeConnection.kt","line":68,"lexical":0.55,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeConnection.kt\nLine 86: if (closed) throw SocketException(\"closed\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeConnection.kt","line":86,"lexical":0.55,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt\nLine 237: if (closed) throw SocketException(\"closed\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt","line":237,"lexical":0.55,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt\nLine 265: attempt.cancel(SocketException(\"server closed\"))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt","line":265,"lexical":0.55,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeServerSocket.kt\nLine 110: if (state is State.Closed) throw SocketException(\"closed\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeServerSocket.kt","line":110,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 82: if (state is State.Closed) throw SocketException(\"closed\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":82,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 187: previous.attempt.cancel(SocketException(\"client closed\"))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":187,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt\nLine 192: if (socket.state is FakeSocket.State.Closed) throw SocketException(\"closed\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt","line":192,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt\nLine 95: // \"java.net.SocketException: Socket closed\" thrown reading response after","file":"okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt","line":95,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt\nLine 204: // \"java.net.SocketException: Socket closed\" thrown reading response after","file":"okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt","line":204,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt\nLine 114: assertThat(exception.message).isIn(\"Socket closed\", \"Socket is closed\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt","line":114,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"응답 바디를 특정 크기 단위로 나누어서 전송하는 메서드가 어디에 있나요? 문자열을 받아서 청크 단위로 쪼개주는 기능이 필요해요.","query":"chunked body","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","symbol":"chunkedBody","line":401,"lang":"ko","candidates":[{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 41: public final fun setChunkedBody (Ljava/lang/String;I)Lokhttp3/mockwebserver/MockResponse;","file":"mockwebserver-deprecated/api/mockwebserver.api","line":41,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 42: public final fun setChunkedBody (Lokio/Buffer;I)Lokhttp3/mockwebserver/MockResponse;","file":"mockwebserver-deprecated/api/mockwebserver.api","line":42,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt\nLine 160: fun setChunkedBody(","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt","line":160,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt\nLine 165: headersBuilder.add(CHUNKED_BODY_HEADER)","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt","line":165,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt\nLine 179: fun setChunkedBody(","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt","line":179,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt\nLine 182: ): MockResponse = setChunkedBody(Buffer().writeUtf8(body), maxChunkSize)","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt","line":182,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt\nLine 284: private const val CHUNKED_BODY_HEADER = \"Transfer-encoding: chunked\"","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt","line":284,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt\nLine 82: mockResponse = mockResponse.setChunkedBody(Buffer(), 0)","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt","line":82,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt\nLine 83: mockResponse = mockResponse.setChunkedBody(\"\", 0)","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt","line":83,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/api/mockwebserver3.api\nLine 54: public final fun chunkedBody (Ljava/lang/String;I)Lmockwebserver3/MockResponse$Builder;","file":"mockwebserver/api/mockwebserver3.api","line":54,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/api/mockwebserver3.api\nLine 55: public final fun chunkedBody (Lokio/Buffer;I)Lmockwebserver3/MockResponse$Builder;","file":"mockwebserver/api/mockwebserver3.api","line":55,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/api/mockwebserver3.api\nLine 56: public static synthetic fun chunkedBody$default (Lmockwebserver3/MockResponse$Builder;Ljava/lang/String;IILjava/lang/Object;)Lmockwebserver3/MockResponse$Builder;","file":"mockwebserver/api/mockwebserver3.api","line":56,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/api/mockwebserver3.api\nLine 57: public static synthetic fun chunkedBody$default (Lmockwebserver3/MockResponse$Builder;Lokio/Buffer;IILjava/lang/Object;)Lmockwebserver3/MockResponse$Builder;","file":"mockwebserver/api/mockwebserver3.api","line":57,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 375: * Sets the response body to [body], chunked every [maxChunkSize] bytes.","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":375,"lexical":0.39999999999999997,"target":true},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 377: public fun chunkedBody(","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":377,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 401: public fun chunkedBody(","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":401,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 404: ): Builder = chunkedBody(Buffer().writeUtf8(body), maxChunkSize)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":404,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 174: fun basicChunkedResponseBody() {","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":174,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 179: .chunkedBody(\"Hello!\", 2)","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":179,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 538: fun bodyResponseBodyChunked() {","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":538,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 543: .chunkedBody(\"Hello!\", 2)","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":543,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 702: .chunkedBody(","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":702,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 117: \"Cannot stream a request body without chunked encoding or a known content length!\",","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":117,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 4209: response.chunkedBody(content, chunkSize)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":4209,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4281: fun uploadBodySmallChunkedEncoding() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4281,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4289: fun uploadBodyEmptyChunkedEncoding() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4289,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4297: fun uploadBodyLargeChunkedEncoding() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4297,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4329: body = requestBody(chunked, size.toLong(), writeSize),","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4329,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4747: .chunkedBody(\"HelloBonjour\", 1024)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4747,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 680: .chunkedBody(\"Hello!\", 2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":680,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 701: .chunkedBody(\"Hello!\", 2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":701,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 821: mockResponse = mockResponse.setChunkedBody(Buffer(), 0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":821,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"이 클래스의 객체를 문자열로 변환할 때 어떤 방식으로 구현되어 있는지 알려줘","query":"CacheControl toString","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","symbol":"toString","line":152,"lang":"ko","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 290: val value = cacheControl.toString()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":290,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt\nLine 24: internal fun CacheControl.commonToString(): String {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt","line":24,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 45: assertThat(cacheControl.toString()).isEqualTo(","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":45,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 72: assertThat(cacheControl.toString()).isEqualTo(\"\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":72,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 110: assertThat(cacheControl.toString()).isEqualTo(header)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":110,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 137: assertThat(cacheControl.toString()).isEqualTo(header)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":137,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 144: assertThat(cacheControl.toString()).isEqualTo(\"max-age=12, public, must-revalidate\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":144,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 152: assertThat(cacheControl.toString()).isSameInstanceAs(value)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":152,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 165: assertThat(cacheControl.toString()).isEqualTo(\"max-age=12, must-revalidate\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":165,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 178: assertThat(cacheControl.toString()).isEqualTo(\"max-age=12, must-revalidate\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":178,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 185: assertThat(cacheControl.toString()).isEqualTo(\"must-revalidate\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":185,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 195: assertThat(cacheControl.toString()).isEqualTo(\"max-age=172800\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":195,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 196: assertThat(cacheControl.toString()).isSameInstanceAs(cacheControl.toString())","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":196,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt\nLine 30: assertThat(cacheControl.toString()).isEqualTo(\"\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt","line":30,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt\nLine 59: assertThat(cacheControl.toString()).isEqualTo(","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt","line":59,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Wie wird die Verbindung hier hergestellt, wenn ein IP-Endpunkt übergeben wird?","query":"SocketAddress UnixSocketAddress","file":"samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java","symbol":"connect","line":45,"lang":"de","candidates":[{"text":"File: samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java\nLine 24: import jnr.unixsocket.UnixSocketAddress;","file":"samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java","line":24,"lexical":0.39999999999999997,"target":true},{"text":"File: samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java\nLine 47: super.connect(new UnixSocketAddress(path), 0);","file":"samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java","line":47,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java\nLine 52: super.connect(new UnixSocketAddress(path), timeout);","file":"samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java","line":52,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java\nLine 29: import jnr.unixsocket.UnixSocketAddress;","file":"samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java","line":29,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java\nLine 67: UnixSocketAddress address = new UnixSocketAddress(path);","file":"samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java","line":67,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Comment valider une modification pour la rendre visible et libérer le lock ?","query":"cache edit commit","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt","symbol":"commit","line":945,"lang":"fr","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 828: val commitEditor = cache.edit(\"c\")!!","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":828,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 855: val commitEditor = cache.edit(\"c\")!!","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":855,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1679: // Committing the detached editor should not change the cache's size.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1679,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1701: // Committing the detached editor should not change the cache's size.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1701,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estoy intentando rastrear cómo se registran los errores cuando se cae la conexión en las pruebas de SSE. ¿Podrías mostrarme qué parte del código captura la excepción y guarda el mensaje del error o la respuesta fallida?","query":"SSE onFailure log","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt","symbol":"onFailure","line":64,"lang":"es","candidates":[{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 256: .assertLogMatch(Regex(\"\"\"satisfactionFailure: Response\\{protocol=h2, code=200, message=, url=$url\\}\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":256,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 226: assertThat(testLogHandler.take()).isEqualTo(\"INFO: [WS client] onFailure\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":226,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"서버 소켓의 로컬 주소를 확인할 때 현재 설정된 엔드포인트 정보가 제대로 반환되지 않는 현상이 있습니다. 실제 바인딩된 주소 값이 제대로 전달되는지 확인이 필요합니다.","query":"local socket address","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeServerSocket.kt","symbol":"getLocalSocketAddress","line":69,"lang":"ko","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/AndroidNetworksTest.kt\nLine 145: * Makes a call pinned to [network] and returns the local address its socket ended up with.","file":"android-test/src/androidTest/java/okhttp/android/test/AndroidNetworksTest.kt","line":145,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/AndroidNetworksTest.kt\nLine 163: localAddress = connection.socket().localAddress","file":"android-test/src/androidTest/java/okhttp/android/test/AndroidNetworksTest.kt","line":163,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt\nLine 121: val inetAddress = socket.localAddress","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt","line":121,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 343: boundSocketAddress = InetSocketAddress(boundSocketAddress.address, serverSocket.localPort)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":343,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt\nLine 77: get() = javaNetSocket.localAddress","file":"mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt","line":77,"lexical":0.65,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt\nLine 112: ?: when (val inetAddress = socket.localAddress) {","file":"mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt","line":112,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt\nLine 113: is Inet6Address -> \"[${inetAddress.hostAddress}]:${socket.localPort}\"","file":"mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt","line":113,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt\nLine 114: else -> \"${inetAddress.hostAddress}:${socket.localPort}\"","file":"mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt","line":114,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt\nLine 178: override fun getLocalSocketAddress(): SocketAddress = delegate!!.localSocketAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt","line":178,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt\nLine 189: override fun bind(localAddr: SocketAddress) {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocket.kt","line":189,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocketFactory.kt\nLine 53: val sslSocket = delegate.createSocket(host, port, localAddress, localPort) as SSLSocket","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocketFactory.kt","line":53,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocketFactory.kt\nLine 73: val sslSocket = delegate.createSocket(host, port, localAddress, localPort) as SSLSocket","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocketFactory.kt","line":73,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSocketFactory.kt\nLine 52: val socket = delegate.createSocket(host, port, localAddress, localPort)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSocketFactory.kt","line":52,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSocketFactory.kt\nLine 72: val socket = delegate.createSocket(host, port, localAddress, localPort)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSocketFactory.kt","line":72,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeServerSocket.kt\nLine 67: override fun getLocalPort() = (state.endpoint as? InetSocketAddress)?.port ?: -1","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeServerSocket.kt","line":67,"lexical":0.65,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeServerSocket.kt\nLine 69: override fun getLocalSocketAddress() = state.endpoint","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeServerSocket.kt","line":69,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 69: override fun getLocalSocketAddress() = state.localAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":69,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 269: val localAddress: InetSocketAddress?","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":269,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 292: override val localAddress: InetSocketAddress,","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":292,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 339: override val localAddress: InetSocketAddress?,","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":339,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt\nLine 236: override fun getLocalSocketAddress() = socket.localSocketAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt","line":236,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt\nLine 238: override fun getLocalAddress() = socket.localAddress","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt","line":238,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt\nLine 291: override fun bind(localAddr: SocketAddress) {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt","line":291,"lexical":0.65,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt\nLine 186: return InetSocketAddress(serverAddress, serverSocket!!.localPort)","file":"okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt","line":186,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 882: * e. g., allows the socket to be bound to a specific local address.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":882,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 2478: InetSocketAddress::class.java to InetSocketAddress.createUnresolved(\"localhost\", 80),","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":2478,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt\nLine 81: InetSocketAddress.createUnresolved(\"localhost\", serverSocket!!.localPort),","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt","line":81,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt\nLine 185: val localAddress = toSocket.localAddress.address","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt","line":185,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt\nLine 187: throw ProtocolException(\"unexpected address: \" + toSocket.localAddress)","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt","line":187,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt\nLine 41: socket.connect(serverSocket.localSocketAddress)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt","line":41,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt\nLine 553: socketAddress = InetSocketAddress(InetAddress.getByName(\"localhost\"), 1234)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt","line":553,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt\nLine 94: serverSocket!!.bind(InetSocketAddress(\"localhost\", 0), 1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt","line":94,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"ホスト名に対して設定されたドメイン暗号化モードを取得する処理。ホスト名に特定のモードが設定されていない場合は、未知の暗号化モードを表すデフォルト値を返す。","query":"domain encryption mode","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt","symbol":"getDomainEncryptionMode","line":36,"lang":"ja","candidates":[{"text":"File: android-test/src/main/res/xml/network_security_config.xml\nLine 13: ","file":"android-test/src/main/res/xml/network_security_config.xml","line":13,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/main/res/xml/network_security_config.xml\nLine 18: ","file":"android-test/src/main/res/xml/network_security_config.xml","line":18,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 21: import android.security.NetworkSecurityPolicy.DOMAIN_ENCRYPTION_MODE_DISABLED","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":21,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 22: import android.security.NetworkSecurityPolicy.DOMAIN_ENCRYPTION_MODE_ENABLED","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":22,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 23: import android.security.NetworkSecurityPolicy.DOMAIN_ENCRYPTION_MODE_OPPORTUNISTIC","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":23,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 24: import android.security.NetworkSecurityPolicy.DOMAIN_ENCRYPTION_MODE_UNKNOWN","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":24,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 68: private val domainEncryptionModes =","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":68,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 70: \"publicobject.com\" to DOMAIN_ENCRYPTION_MODE_ENABLED,","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":70,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 85: ShadowNetworkSecurityPolicy.create(domainEncryptionModes)","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":85,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 110: domainEncryptionModes[\"custom-port.publicobject.com\"] = DOMAIN_ENCRYPTION_MODE_ENABLED","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":110,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 123: domainEncryptionModes[\"publicobject.com\"] = DOMAIN_ENCRYPTION_MODE_DISABLED","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":123,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 131: domainEncryptionModes[\"publicobject.com\"] = DOMAIN_ENCRYPTION_MODE_UNKNOWN","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":131,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 139: domainEncryptionModes[\"publicobject.com\"] = DOMAIN_ENCRYPTION_MODE_OPPORTUNISTIC","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":139,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt\nLine 153: domainEncryptionModes[\"denied.example.com\"] = DOMAIN_ENCRYPTION_MODE_DISABLED","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/AndroidDnsRobolectricTest.kt","line":153,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt\nLine 19: import android.security.NetworkSecurityPolicy.DOMAIN_ENCRYPTION_MODE_UNKNOWN","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt","line":19,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt\nLine 27: * Gives tests a [NetworkSecurityPolicy] with domain encryption modes of their choosing. The","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt","line":27,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt\nLine 34: lateinit var domainEncryptionModes: Map","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt","line":34,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt\nLine 37: fun getDomainEncryptionMode(hostname: String): Int = domainEncryptionModes[hostname] ?: DOMAIN_ENCRYPTION_MODE_UNKNOWN","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt","line":37,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt\nLine 41: * Returns a policy that reports [domainEncryptionModes], and [DOMAIN_ENCRYPTION_MODE_UNKNOWN]","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt","line":41,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt\nLine 44: fun create(domainEncryptionModes: Map): NetworkSecurityPolicy {","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt","line":44,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt\nLine 47: shadow.domainEncryptionModes = domainEncryptionModes","file":"okhttp/src/androidHostTest/kotlin/okhttp3/android/ShadowNetworkSecurityPolicy.kt","line":47,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt\nLine 26: import android.security.NetworkSecurityPolicy.DOMAIN_ENCRYPTION_MODE_ENABLED","file":"okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt","line":26,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt\nLine 27: import android.security.NetworkSecurityPolicy.DOMAIN_ENCRYPTION_MODE_OPPORTUNISTIC","file":"okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt","line":27,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt\nLine 132: return when (networkSecurityPolicy.getDomainEncryptionMode(request.hostname)) {","file":"okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt","line":132,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt\nLine 133: DOMAIN_ENCRYPTION_MODE_ENABLED, DOMAIN_ENCRYPTION_MODE_OPPORTUNISTIC -> true","file":"okhttp/src/androidMain/kotlin/okhttp3/android/AndroidDns.kt","line":133,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/android/src/main/res/xml/network_security_config.xml\nLine 6: ","file":"samples/android/src/main/res/xml/network_security_config.xml","line":6,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Comment attendre une notification ou une interruption dans la tâche de coordination ?","query":"coordinator wait","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","symbol":"coordinatorWait","line":134,"lang":"fr","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 49: * * By yielding in [TaskRunner.Backend.coordinatorWait].","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":49,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 78: /** The coordinator task if it's waiting, and how it will resume. Guarded by `this`. */","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":78,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 79: private var waitingCoordinatorTask: SerialTask? = null","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":79,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 80: private var waitingCoordinatorInterrupted = false","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":80,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 81: private var waitingCoordinatorNotified = false","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":81,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 115: check(waitingCoordinatorTask != null)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":115,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 117: // Queue a task to resume the waiting coordinator.","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":117,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 122: val coordinatorTask = waitingCoordinatorTask","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":122,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 124: waitingCoordinatorNotified = true","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":124,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 134: override fun coordinatorWait(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":134,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 139: check(waitingCoordinatorTask == null)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":139,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 145: waitingCoordinatorTask = self","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":145,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 146: waitingCoordinatorNotified = false","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":146,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 147: waitingCoordinatorInterrupted = false","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":147,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 149: waitingCoordinatorNotified || waitingCoordinatorInterrupted || nanoTime >= waitUntil","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":149,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 152: waitingCoordinatorTask = null","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":152,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 153: waitingCoordinatorNotified = false","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":153,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 154: if (waitingCoordinatorInterrupted) {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":154,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 155: waitingCoordinatorInterrupted = false","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":155,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 195: // Queue a task to interrupt the waiting coordinator.","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":195,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 200: waitingCoordinatorInterrupted = true","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":200,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt\nLine 201: val coordinatorTask = waitingCoordinatorTask ?: error(\"no coordinator waiting\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt","line":201,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 756: HSPLokhttp3/internal/concurrent/TaskRunner$RealBackend;->coordinatorWait(Lokhttp3/internal/concurrent/TaskRunner;J)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":756,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 45: private var coordinatorWaiting = false","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":45,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 117: if (coordinatorWaiting) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":117,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 217: if (multipleReadyTasks || !coordinatorWaiting && readyQueues.isNotEmpty()) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":217,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 225: coordinatorWaiting -> {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":225,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 234: coordinatorWaiting = true","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":234,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 237: backend.coordinatorWait(this@TaskRunner, minDelayNanos)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":237,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 242: coordinatorWaiting = false","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":242,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 292: fun coordinatorWait(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":292,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt\nLine 333: override fun coordinatorWait(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt","line":333,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estoy revisando la lógica para determinar cuándo se debe cerrar un evento en el ciclo de vida de una llamada. ¿Podrías decirme qué condición se usa para verificar si un evento marca el final de la ejecución?","query":"closes CallStart","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","symbol":"closes","line":147,"lang":"es","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 147: override fun closes(event: CallEvent): Boolean = event is CallStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":147,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 155: override fun closes(event: CallEvent): Boolean = event is CallStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":155,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"查找重写获取对端证书逻辑的地方","query":"getPeerCertificates override","file":"okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt","symbol":"getPeerCertificates","line":140,"lang":"zh","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt\nLine 49: override fun getPeerCertificates(): Array =","file":"okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt","line":49,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSession.kt\nLine 61: override fun getPeerCertificates(): Array? = delegate!!.peerCertificates","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSession.kt","line":61,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt\nLine 428: override fun getPeerCertificates() =","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt","line":428,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt\nLine 140: override fun getPeerCertificates() = peerCertificates","file":"okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt","line":140,"lexical":0.39999999999999997,"target":true}]} {"site":"project_search","repo":"okhttp","task":"Où est défini le séparateur utilisé pour parser les propriétés du wrapper maven ?","query":"distributionUrl properties","file":"maven-tests/mvnw","symbol":"IFS","line":109,"lang":"fr","candidates":[{"text":"File: maven-tests/mvnw\nLine 108: # parse distributionUrl and optional distributionSha256Sum, requires .mvn/wrapper/maven-wrapper.properties","file":"maven-tests/mvnw","line":108,"lexical":0.39999999999999997,"target":true},{"text":"File: maven-tests/mvnw\nLine 115: [ -n \"${distributionUrl-}\" ] || die \"cannot read distributionUrl property in ${0%/*}/.mvn/wrapper/maven-wrapper.properties\"","file":"maven-tests/mvnw","line":115,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw.cmd\nLine 53: # calculate distributionUrl, requires .mvn/wrapper/maven-wrapper.properties","file":"maven-tests/mvnw.cmd","line":53,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw.cmd\nLine 54: $distributionUrl = (Get-Content -Raw \"$scriptDir/.mvn/wrapper/maven-wrapper.properties\" | ConvertFrom-StringData).distributionUrl","file":"maven-tests/mvnw.cmd","line":54,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw.cmd\nLine 56: Write-Error \"cannot read distributionUrl property in $scriptDir/.mvn/wrapper/maven-wrapper.properties\"","file":"maven-tests/mvnw.cmd","line":56,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"특정 URL로 요청된 응답이 기록될 때까지 기다렸다가 가져오는 로직을 찾고 있어요. 만약 설정된 시간 안에 응답이 오지 않으면 에러를 던지는 부분이 어디인가요?","query":"await url response","file":"okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt","symbol":"await","line":50,"lang":"ko","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 809: val firstResponse = callback.await(request.url).assertSuccessful()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":809,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 810: val secondResponse = callback.await(request.url).assertSuccessful()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":810,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1162: val response = callback.await(request.url)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1162,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt\nLine 641: val recordedResponse = callback.await(server.url(\"/\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt","line":641,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt\nLine 51: fun await(url: HttpUrl): RecordedResponse {","file":"okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt","line":51,"lexical":0.44999999999999996,"target":true}]} {"site":"project_search","repo":"okhttp","task":"在设置证书序列号时,如果未显式赋值,逻辑上应当确保它有一个默认值(如 1),请检查目前的实现是否能正确处理序列号的更新逻辑。","query":"certificate serial number","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","symbol":"serialNumber","line":264,"lang":"zh","candidates":[{"text":"File: okhttp-tls/api/okhttp-tls.api\nLine 51: public final fun serialNumber (J)Lokhttp3/tls/HeldCertificate$Builder;","file":"okhttp-tls/api/okhttp-tls.api","line":51,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/api/okhttp-tls.api\nLine 52: public final fun serialNumber (Ljava/math/BigInteger;)Lokhttp3/tls/HeldCertificate$Builder;","file":"okhttp-tls/api/okhttp-tls.api","line":52,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 263: /** Sets this certificate's serial number. If unset the serial number will be 1. */","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":263,"lexical":0.65,"target":true},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 269: /** Sets this certificate's serial number. If unset the serial number will be 1. */","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":269,"lexical":0.65,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt\nLine 359: * serialNumber CertificateSerialNumber,","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt","line":359,"lexical":0.65,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt\nLine 49: assertThat(certificate.serialNumber).isEqualTo(BigInteger.ONE)","file":"okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt","line":49,"lexical":0.65,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt\nLine 756: assertThat(okHttpCertificate.tbsCertificate.serialNumber).isEqualTo(BigInteger(\"17\"))","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt","line":756,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 4514: result.add(certificate.subjectDN.toString() + \" \" + certificate.serialNumber)","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":4514,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Como configurar o TaskRunner no OkHttpClient.Builder?","query":"OkHttpClient task runner","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt","symbol":"taskRunnerInternal","line":113,"lang":"pt","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 658: this.taskRunner = okHttpClient.taskRunner","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":658,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt\nLine 113: internal fun OkHttpClient.Builder.taskRunnerInternal(taskRunner: TaskRunner) = this.taskRunner(taskRunner)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt","line":113,"lexical":0.44999999999999996,"target":true}]} {"site":"project_search","repo":"okhttp","task":"Como eu posso criar uma implementação customizada para modificar as requisições antes de serem enviadas?","query":"intercept request response","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","symbol":"Interceptor","line":66,"lang":"pt","candidates":[{"text":"File: docs/features/interceptors.md\nLine 4: Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. Here's a simple interceptor that logs the outgoing request and the incoming response.","file":"docs/features/interceptors.md","line":4,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 26: A call to `chain.proceed(request)` is a critical part of each interceptor’s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If `chain.proceed(request)` is being called more than …","file":"docs/features/interceptors.md","line":26,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 114: The network requests also contain more data, such as the `Accept-Encoding: gzip` header added by OkHttp to advertise support for response compression. The network interceptor's `Chain` has a non-null `Connection` that can be used to interrogate the IP addr…","file":"docs/features/interceptors.md","line":114,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 178: Symmetrically, interceptors can rewrite response headers and transform the response body. This is generally more dangerous than rewriting request headers because it may violate the webserver's expectations!","file":"docs/features/interceptors.md","line":178,"lexical":0.65,"target":false},{"text":"File: okhttp-logging-interceptor/Module.md\nLine 3: An OkHttp interceptor which logs HTTP request and response data.","file":"okhttp-logging-interceptor/Module.md","line":3,"lexical":0.55,"target":false},{"text":"File: okhttp-logging-interceptor/README.md\nLine 4: An [OkHttp interceptor][interceptors] which logs HTTP request and response data.","file":"okhttp-logging-interceptor/README.md","line":4,"lexical":0.55,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 37: * An OkHttp interceptor which logs request and response information. Can be applied as an","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":37,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt\nLine 29: override fun intercept(chain: Chain): Response = chain.proceed(uppercaseRequest(chain.request()))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt","line":29,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt\nLine 28: override fun intercept(chain: Chain): Response = uppercaseResponse(chain.proceed(chain.request()))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt","line":28,"lexical":0.65,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 859: HSPLokhttp3/internal/http/RealInterceptorChain;->proceed(Lokhttp3/Request;)Lokhttp3/Response;","file":"okhttp/src/androidMain/baseline-prof.txt","line":859,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 864: HSPLokhttp3/internal/http/RetryAndFollowUpInterceptor;->followUpRequest(Lokhttp3/Response;Lokhttp3/internal/connection/Exchange;)Lokhttp3/Request;","file":"okhttp/src/androidMain/baseline-prof.txt","line":864,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 30: * responses coming back in. Typically interceptors add, remove, or transform headers on the request","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":30,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 152: * Returns an immutable list of interceptors that observe a single network request and response.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":152,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 696: * Returns a modifiable list of interceptors that observe a single network request and response.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":696,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"发现了一个潜在的安全隐患:在初始化内置受信任证书列表时,会自动包含操作系统层级的根证书颁发机构,这可能会引入来自宿主平台配置错误或被篡改的不可信证书。","query":"platform trusted certificates","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt","symbol":"addPlatformTrustedCertificates","line":144,"lang":"zh","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 373: .addPlatformTrustedCertificates()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":373,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 449: .addPlatformTrustedCertificates()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":449,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt\nLine 83: // .addPlatformTrustedCertificates()","file":"android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt","line":83,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 177: .addPlatformTrustedCertificates()","file":"docs/changelogs/changelog_4x.md","line":177,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/README.md\nLine 150: Internet this set of trusted root certificates is usually provided by default by the host platform.","file":"okhttp-tls/README.md","line":150,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/README.md\nLine 155: `HandshakeCertificates`. Or you can do it explicitly with `addPlatformTrustedCertificates()`:","file":"okhttp-tls/README.md","line":155,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/README.md\nLine 159: .addPlatformTrustedCertificates()","file":"okhttp-tls/README.md","line":159,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/api/okhttp-tls.api\nLine 19: public final fun addPlatformTrustedCertificates ()Lokhttp3/tls/HandshakeCertificates$Builder;","file":"okhttp-tls/api/okhttp-tls.api","line":19,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt\nLine 133: * Add all of the host platform's trusted root certificates. This set varies by platform","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt","line":133,"lexical":0.65,"target":true},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt\nLine 144: fun addPlatformTrustedCertificates() =","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt","line":144,"lexical":0.65,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt\nLine 147: Collections.addAll(trustedCertificates, *platformTrustManager.acceptedIssuers)","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt","line":147,"lexical":0.65,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 87: * host platform (like Android). In July 2018 Android had 134 trusted root certificates for its HTTP","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":87,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt\nLine 152: @Test fun platformTrustedCertificates() {","file":"okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt","line":152,"lexical":0.65,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt\nLine 156: .addPlatformTrustedCertificates()","file":"okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt","line":156,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt\nLine 59: .addPlatformTrustedCertificates()","file":"okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt","line":59,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt\nLine 97: .addPlatformTrustedCertificates()","file":"okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt","line":97,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt\nLine 121: .addPlatformTrustedCertificates()","file":"okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt","line":121,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 726: builder = builder.addPlatformTrustedCertificates()","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":726,"lexical":0.44999999999999996,"target":false},{"text":"File: regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java\nLine 109: // .addPlatformTrustedCertificates()","file":"regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java","line":109,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java\nLine 137: //.addPlatformTrustedCertificates()","file":"samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java","line":137,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt\nLine 144: // .addPlatformTrustedCertificates()","file":"samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt","line":144,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt\nLine 44: .addPlatformTrustedCertificates()","file":"samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt","line":44,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"디스패처 큐에서 작업이 끝났을 때 발생하는 이벤트 클래스 구조 좀 알려줘","query":"DispatcherQueueEnd event","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","symbol":"DispatcherQueueEnd","line":43,"lang":"ko","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 34: import okhttp3.CallEvent.DispatcherQueueEnd","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":34,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 77: ) = onEvent(DispatcherQueueEnd(System.nanoTime(), call, dispatcher))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":77,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt\nLine 253: call.call.eventListener.dispatcherQueueEnd(call.call, this)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt","line":253,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 36: import okhttp3.CallEvent.DispatcherQueueEnd","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":36,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 90: assertThat(eventRecorder.eventSequence).none { it.isInstanceOf() }","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":90,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 104: assertThat(eventRecorder.eventSequence).none { it.isInstanceOf() }","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":104,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 117: assertThat(eventRecorder.eventSequence).none { it.isInstanceOf() }","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":117,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 144: assertThat(eventRecorder.eventSequence).none { it.isInstanceOf() }","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":144,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 149: val dispatcherQueueEndC1 = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":149,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 151: val dispatcherQueueEndA2 = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":151,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 153: assertThat(eventRecorder.eventSequence).none { it.isInstanceOf() }","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":153,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 171: assertThat(eventRecorder.eventSequence).none { it.isInstanceOf() }","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":171,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 176: val dispatcherQueueEndA3 = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":176,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 178: val dispatcherQueueEndA4 = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":178,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 180: assertThat(eventRecorder.eventSequence).none { it.isInstanceOf() }","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":180,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Comment est-ce que je peux remplacer l'ancienne méthode qui renvoyait la fabrique de sockets par la nouvelle propriété ?","query":"socketFactory deprecated","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt","symbol":"socketFactory","line":102,"lang":"fr","candidates":[{"text":"File: mockwebserver-deprecated/api/mockwebserver.api\nLine 72: public final fun -deprecated_serverSocketFactory (Ljavax/net/ServerSocketFactory;)V","file":"mockwebserver-deprecated/api/mockwebserver.api","line":72,"lexical":0.5,"target":false},{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt\nLine 88: @JvmName(\"-deprecated_serverSocketFactory\")","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt","line":88,"lexical":0.5,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 10: public final fun -deprecated_socketFactory ()Ljavax/net/SocketFactory;","file":"okhttp/api/android/okhttp.api","line":10,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 11: public final fun -deprecated_sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;","file":"okhttp/api/android/okhttp.api","line":11,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 990: public final fun -deprecated_socketFactory ()Ljavax/net/SocketFactory;","file":"okhttp/api/android/okhttp.api","line":990,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 991: public final fun -deprecated_sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;","file":"okhttp/api/android/okhttp.api","line":991,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 10: public final fun -deprecated_socketFactory ()Ljavax/net/SocketFactory;","file":"okhttp/api/jvm/okhttp.api","line":10,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 11: public final fun -deprecated_sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;","file":"okhttp/api/jvm/okhttp.api","line":11,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 989: public final fun -deprecated_socketFactory ()Ljavax/net/SocketFactory;","file":"okhttp/api/jvm/okhttp.api","line":989,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 990: public final fun -deprecated_sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;","file":"okhttp/api/jvm/okhttp.api","line":990,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt\nLine 102: @JvmName(\"-deprecated_socketFactory\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt","line":102,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt\nLine 150: @JvmName(\"-deprecated_sslSocketFactory\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt","line":150,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 502: @JvmName(\"-deprecated_socketFactory\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":502,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 510: @JvmName(\"-deprecated_sslSocketFactory\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":510,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 901: * @deprecated [SSLSocketFactory] does not expose its [X509TrustManager], which is a field that","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":901,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"プロキシ設定を反映させて新しい実行チェーンを生成するメソッドが見当たりません。指定したプロキシを適用して後続の処理に渡す仕組みを修正・確認したいです。","query":"proxy chain return","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","symbol":"withProxy","line":220,"lang":"ja","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 213: * Returns the [Proxy] for the OkHttpClient, or an override from the Call.Chain.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":213,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 218: * Returns a new chain with the specified [Proxy].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":218,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 223: * Returns the [ProxySelector] for the OkHttpClient, or an override from the Call.Chain.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":223,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 235: * Returns the proxy [Authenticator] for the OkHttpClient, or an override from the Call.Chain.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":235,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 240: * Returns a new chain with the specified proxy [Authenticator].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":240,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt\nLine 221: return chain.proxyAuthenticator.authenticate(route, userResponse)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt","line":221,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"네트워크 연결 오류 상황을 테스트하는 코드를 작성 중이에요. 헤더 전송이 시작될 때 특정 조건에 따라 소켓을 강제로 닫아버리는 로직이 어디에 있는지 찾아주세요.","query":"requestHeadersStart close","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt","symbol":"requestHeadersStart","line":67,"lang":"ko","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 173: override fun closes(event: CallEvent): Boolean = event is RequestHeadersStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":173,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 194: override fun closes(event: CallEvent): Boolean = event is RequestHeadersStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":194,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Ich versuche gerade zu verstehen, wie die Cookies für eine Anfrage aus dem Speicher geholt werden. Kannst du mir zeigen, wo die Logik implementiert ist, die die gespeicherten Cookies beim Laden für eine URL entfernt?","query":"load request cookies","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt","symbol":"loadForRequest","line":44,"lang":"de","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt\nLine 44: override fun loadForRequest(url: HttpUrl): List = if (requestCookies.isEmpty()) emptyList() else requestCookies.removeFirst()","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt","line":44,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 585: HSPLokhttp3/CookieJar$Companion$NoCookies;->loadForRequest(Lokhttp3/HttpUrl;)Ljava/util/List;","file":"okhttp/src/androidMain/baseline-prof.txt","line":585,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt\nLine 46: * Load cookies from the jar for an HTTP request to [url]. This method returns a possibly","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt","line":46,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt\nLine 73: val cookies = chain.cookieJar.loadForRequest(userRequest.url)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt","line":73,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt\nLine 314: val actualCookies = cookieJar.loadForRequest(url)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt","line":314,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt\nLine 326: val actualCookies = cookieJar.loadForRequest(url)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt","line":326,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt\nLine 338: val actualCookies = cookieJar.loadForRequest(url)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt","line":338,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt\nLine 351: val actualCookies = cookieJar.loadForRequest(url2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt","line":351,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"フォームデータのエンコーディングに関するテストコードを書いています。特殊文字やパーセント記号が含まれる場合に、期待通りの形式で書き出されるかを確認するテストケースはどこにありますか?","query":"FormBody addEncoded","file":"okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt","symbol":"addEncoded","line":58,"lang":"ja","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 620: public final fun addEncoded (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/FormBody$Builder;","file":"okhttp/api/android/okhttp.api","line":620,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 620: public final fun addEncoded (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/FormBody$Builder;","file":"okhttp/api/jvm/okhttp.api","line":620,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"바이트 배열을 전송하는 새로운 응답 본체 생성","query":"toResponseBody ByteArray","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","symbol":"toResponseBody","line":251,"lang":"ko","candidates":[{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 138: | ResponseBody.create(ByteArray) | ByteArray.toResponseBody() |","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":138,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 253: fun ByteArray.toResponseBody(contentType: MediaType? = null): ResponseBody =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":253,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 1241: responseBody = byteArrayOf(0, 1).toResponseBody(\"\".toMediaType())","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":1241,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 1242: responseBody = byteArrayOf(0, 1).toResponseBody(null)","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":1242,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"요청이 특정 밀리초 범위 내에서 전송되었는지 확인하는 함수 어디 있어?","query":"assert sent request","file":"okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt","symbol":"assertSentRequestAtMillis","line":169,"lang":"ko","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 213: .assertSentRequestAtMillis(sentAt, receivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":213,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1881: .assertSentRequestAtMillis(request1SentAt, request1ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1881,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1882: .assertReceivedResponseAtMillis(request1SentAt, request1ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1882,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1900: .assertSentRequestAtMillis(request1SentAt, request1ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1900,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1901: .assertReceivedResponseAtMillis(request1SentAt, request1ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1901,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1967: .assertSentRequestAtMillis(request2SentAt, request2ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1967,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1968: .assertReceivedResponseAtMillis(request2SentAt, request2ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1968,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1979: .assertRequestHeader(\"If-None-Match\") // This wasn't present in the original request.","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1979,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1980: .assertSentRequestAtMillis(request1SentAt, request1ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1980,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1981: .assertReceivedResponseAtMillis(request1SentAt, request1ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1981,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1991: .assertSentRequestAtMillis(request2SentAt, request2ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1991,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1992: .assertReceivedResponseAtMillis(request2SentAt, request2ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1992,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 2079: .assertSentRequestAtMillis(request2SentAt, request2ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":2079,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 2080: .assertReceivedResponseAtMillis(request2SentAt, request2ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":2080,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 2089: .assertSentRequestAtMillis(request1SentAt, request1ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":2089,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 2090: .assertReceivedResponseAtMillis(request1SentAt, request1ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":2090,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 2099: .assertSentRequestAtMillis(request2SentAt, request2ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":2099,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 2100: .assertReceivedResponseAtMillis(request2SentAt, request2ReceivedAt)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":2100,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt\nLine 169: fun assertSentRequestAtMillis(","file":"okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt","line":169,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt\nLine 173: assertDateInRange(minimum, response!!.sentRequestAtMillis, maximum)","file":"okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt","line":173,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"explain why jdk 11 is required","query":"jdk 11","file":".github/renovate.json5","symbol":"description","line":38,"lang":"en","candidates":[{"text":"File: docs/security/security_providers.md\nLine 9: | JVM default | Java 9+ | Java 11+ | [OpenJDK] | |","file":"docs/security/security_providers.md","line":9,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/security/security_providers.md\nLine 11: | [GraalVM] | ✅ | | [OpenJDK] | Only actively tested with JDK 11, not with 8 target |","file":"docs/security/security_providers.md","line":11,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 239: fun effectiveOrderInRestrictedJdk11() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":239,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 240: platform.assumeJdkVersion(11)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":240,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1357: // JDK 11 response to the FAIL_HANDSHAKE:","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1357,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1480: // JDK 11 response to the FAIL_HANDSHAKE","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1480,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt\nLine 110: // Not much we can guarantee on JDK 11.","file":"okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt","line":110,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt\nLine 36: * available in JDK11 or Conscrypt.","file":"okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt","line":36,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt\nLine 504: * the OpenJDK 11 TLS implementation, which itself fails the handshake when it encounters a non-CA","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt","line":504,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt\nLine 787: // http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/2c1c21d11e58/src/share/classes/sun/security/pkcs12/PKCS12KeyStore.java#l596","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt","line":787,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt\nLine 241: // JDK 11+","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt","line":241,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt\nLine 299: // JDK 11+","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt","line":299,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt\nLine 361: // Gradle - JDK 11","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt","line":361,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt\nLine 53: * This logs TLSv1.2 on a JVM (OpenJDK 11+) without any additional code. For TLSv1.3","file":"samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt","line":53,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt\nLine 45: * Using PKCS11 support in the JDK.","file":"samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt","line":45,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"find the entry point that executes the demonstration code","query":"main run","file":"samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java","symbol":"main","line":55,"lang":"en","candidates":[{"text":"File: build-logic/src/main/kotlin/BndBuildAction.kt\nLine 221: override fun getRuntimeClasspathConfigurationName(): String = jvmMainSourceSet.runtimeClasspathConfigurationName + \"ForFakeMain\"","file":"build-logic/src/main/kotlin/BndBuildAction.kt","line":221,"lexical":0.5,"target":false},{"text":"File: build-logic/src/main/kotlin/BndBuildAction.kt\nLine 223: override fun getRuntimeOnlyConfigurationName(): String = jvmMainSourceSet.runtimeOnlyConfigurationName + \"ForFakeMain\"","file":"build-logic/src/main/kotlin/BndBuildAction.kt","line":223,"lexical":0.5,"target":false},{"text":"File: okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt\nLine 73: fun Main.commonRun() {","file":"okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt","line":73,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt\nLine 287: * Prunes any leaked calls and then returns the number of remaining live calls on [connection].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt","line":287,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt\nLine 40: * The intent is to use this class to update the list periodically by manually running the main","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt","line":40,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat\nLine 9842: // https://www.iana.org/domains/root/db/run.html","file":"okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat","line":9842,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat\nLine 10534: // https://www.iana.org/domains/root/db/versicherung.html","file":"okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat","line":10534,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt\nLine 65: fun runMain(className: String) {","file":"samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt","line":65,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/tlssurvey/build.gradle.kts\nLine 11: mainClass.set(\"okhttp3.survey.RunSurveyKt\")","file":"samples/tlssurvey/build.gradle.kts","line":11,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"O exemplo de execução de uma requisição HTTP está lançando uma exceção de IO se o status da resposta não for de sucesso, em vez de apenas imprimir os cabeçalhos para depuração.","query":"execute request response","file":"samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java","symbol":"run","line":145,"lang":"pt","candidates":[{"text":"File: README.md\nLine 62: try (Response response = client.newCall(request).execute()) {","file":"README.md","line":62,"lexical":0.44999999999999996,"target":false},{"text":"File: README.md\nLine 85: try (Response response = client.newCall(request).execute()) {","file":"README.md","line":85,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/AndroidDnsTest.kt\nLine 70: client.newCall(Request.Builder().url(url).build()).execute().use { response ->","file":"android-test/src/androidTest/java/okhttp/android/test/AndroidDnsTest.kt","line":70,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/AndroidNetworksTest.kt\nLine 176: networkClient.newCall(request).execute().use { response ->","file":"android-test/src/androidTest/java/okhttp/android/test/AndroidNetworksTest.kt","line":176,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 173: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":173,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 208: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":208,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 243: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":243,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 333: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":333,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 428: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":428,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 471: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":471,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 512: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":512,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 539: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":539,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 600: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":600,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 624: client.newCall(request).execute().use { response ->","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":624,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 655: client.newCall(request).execute().use { response ->","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":655,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 727: client.newCall(request).execute().use { response ->","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":727,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 734: client.newCall(request).execute().use { response ->","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":734,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 825: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":825,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 971: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":971,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 1103: val response = this.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":1103,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt\nLine 55: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt","line":55,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt\nLine 73: val response = client.newCall(request).execute()","file":"android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt","line":73,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt\nLine 87: client.newCall(request).execute().use { response ->","file":"android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt","line":87,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt\nLine 101: client.newCall(request).execute().use { response ->","file":"android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt","line":101,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt\nLine 93: client.newCall(request).execute().use { response ->","file":"android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt","line":93,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt\nLine 115: client.newCall(request).execute().use { response ->","file":"android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt","line":115,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/events.md\nLine 58: try (Response response = client.newCall(request).execute()) {","file":"docs/features/events.md","line":58,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/events.md\nLine 64: try (Response response = client.newCall(request).execute()) {","file":"docs/features/events.md","line":64,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/https.md\nLine 87: client.newCall(request).execute().use { response ->","file":"docs/features/https.md","line":87,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/https.md\nLine 110: try (Response response = client.newCall(request).execute()) {","file":"docs/features/https.md","line":110,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/https.md\nLine 144: client.newCall(request).execute().use { response ->","file":"docs/features/https.md","line":144,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/https.md\nLine 194: Response response = client.newCall(request).execute();","file":"docs/features/https.md","line":194,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"接続タイムアウトのミリ秒数を取得している箇所はどこ?","query":"connectTimeoutMillis","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","symbol":"connectTimeoutMillis","line":172,"lang":"ja","candidates":[{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 101: connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":101,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt\nLine 186: socketConnectTimeoutMillis = chain.connectTimeoutMillis,","file":"okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt","line":186,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt\nLine 123: connectTimeoutMillis: Long,","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt","line":123,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt\nLine 131: .deadline(connectTimeoutMillis, TimeUnit.MILLISECONDS)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeNetwork.kt","line":131,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 114: connectTimeoutMillis = timeout.toLong(),","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":114,"lexical":0.35,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 817: public abstract fun connectTimeoutMillis ()I","file":"okhttp/api/android/okhttp.api","line":817,"lexical":0.35,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 971: public final fun -deprecated_connectTimeoutMillis ()I","file":"okhttp/api/android/okhttp.api","line":971,"lexical":0.35,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1000: public final fun connectTimeoutMillis ()I","file":"okhttp/api/android/okhttp.api","line":1000,"lexical":0.35,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 817: public abstract fun connectTimeoutMillis ()I","file":"okhttp/api/jvm/okhttp.api","line":817,"lexical":0.35,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 970: public final fun -deprecated_connectTimeoutMillis ()I","file":"okhttp/api/jvm/okhttp.api","line":970,"lexical":0.35,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 999: public final fun connectTimeoutMillis ()I","file":"okhttp/api/jvm/okhttp.api","line":999,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 104: fun connectTimeoutMillis(): Int","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":104,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 243: @get:JvmName(\"connectTimeoutMillis\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":243,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 244: val connectTimeoutMillis: Int = builder.connectTimeout","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":244,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 558: @JvmName(\"-deprecated_connectTimeoutMillis\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":558,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 561: replaceWith = ReplaceWith(expression = \"connectTimeoutMillis\"),","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":561,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 564: fun connectTimeoutMillis(): Int = connectTimeoutMillis","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":564,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 651: this.connectTimeout = okHttpClient.connectTimeoutMillis","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":651,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 67: private val socketConnectTimeoutMillis: Int,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":67,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 118: socketConnectTimeoutMillis = socketConnectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":118,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 283: Platform.get().connectSocket(rawSocket, route.socketAddress, socketConnectTimeoutMillis)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":283,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 604: socketConnectTimeoutMillis = socketConnectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":604,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 280: socketConnectTimeoutMillis = chain.connectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":280,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt\nLine 45: private val socketConnectTimeoutMillis: Int,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt","line":45,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt\nLine 244: socketConnectTimeoutMillis = socketConnectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt","line":244,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 59: internal val connectTimeoutMillis: Int,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":59,"lexical":0.35,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 91: connectTimeoutMillis = client.connectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":91,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 117: connectTimeoutMillis: Int = this.connectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":117,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 141: connectTimeoutMillis = connectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":141,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 172: override fun connectTimeoutMillis(): Int = connectTimeoutMillis","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":172,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 180: return copy(connectTimeoutMillis = checkDuration(\"connectTimeout\", timeout.toLong(), unit))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":180,"lexical":0.35,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 794: override fun Interceptor.Chain.value(): Int = connectTimeoutMillis()","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":794,"lexical":0.35,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Peux-tu m'expliquer comment les en-têtes de la requête sont extraits et traités pour les flux HTTP/2 ? Je veux comprendre comment la méthode et le chemin sont récupérés à partir du flux.","query":"read request stream","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","symbol":"readRequest","line":1087,"lang":"fr","candidates":[{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 1057: val request = readRequest(stream)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":1057,"lexical":0.44999999999999996,"target":true},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 1088: private fun readRequest(stream: Http2Stream): RecordedRequest {","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":1088,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 391: * already split off another thread to stream the request body. Because we permit at most one","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":391,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 681: * be readable after the request stream is canceled.","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":681,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java\nLine 81: * This request body makes it possible for another thread to stream data to the uploading request.","file":"samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java","line":81,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Je cherche la logique qui permet de vérifier si une version spécifique du système correspond à celle attendue par la règle de test. Peux-tu me montrer comment on compare la version majeure de la plateforme ?","query":"matchesSafely PlatformVersion","file":"okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt","symbol":"matchesSafely","line":180,"lang":"fr","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt\nLine 171: override fun matchesSafely(item: PlatformVersion): Boolean = item.majorVersion >= version","file":"okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt","line":171,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt\nLine 180: override fun matchesSafely(item: PlatformVersion): Boolean = item.majorVersion == version","file":"okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt","line":180,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Je travaille sur la partie qui gère les flux de données en temps réel. Peux-tu me montrer où est implémentée la réception des messages texte pour le moment ?","query":"onMessage text","file":"samples/slack/src/main/java/okhttp3/slack/RtmSession.java","symbol":"onMessage","line":49,"lang":"fr","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 394: listener.onMessage(this, text)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":394,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt\nLine 80: delegate.onMessage(webSocket, text)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt","line":80,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java\nLine 33: @Override public void onMessage(WebSocket webSocket, String text) {","file":"samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java","line":33,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/slack/src/main/java/okhttp3/slack/RtmSession.java\nLine 49: @Override public void onMessage(WebSocket webSocket, String text) {","file":"samples/slack/src/main/java/okhttp3/slack/RtmSession.java","line":49,"lexical":0.39999999999999997,"target":true},{"text":"File: samples/slack/src/main/java/okhttp3/slack/RtmSession.java\nLine 50: System.out.println(\"onMessage: \" + text);","file":"samples/slack/src/main/java/okhttp3/slack/RtmSession.java","line":50,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"PKCS#8 형식의 개인 키 데이터를 알고리즘에 맞춰 복호화하는 과정에서 보안 예외가 발생하면 일반적인 인자 오류로 변환되어 던져지는 로직을 확인해 주세요.","query":"decode PKCS8 private","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","symbol":"decodePkcs8","line":596,"lang":"ko","candidates":[{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 590: val privateKey = decodePkcs8(pkcs8Bytes, keyType)","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":590,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 596: private fun decodePkcs8(","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":596,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"查找调度器队列开始时的事件监听回调实现","query":"dispatcherQueueStart event","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","symbol":"dispatcherQueueStart","line":69,"lang":"zh","candidates":[{"text":"File: CHANGELOG.md\nLine 174: * New: Publish events when calls must wait to execute. `EventListener.dispatcherQueueStart()`","file":"CHANGELOG.md","line":174,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 48: override fun closes(event: CallEvent): Boolean = event is DispatcherQueueStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":48,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 35: import okhttp3.CallEvent.DispatcherQueueStart","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":35,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 72: ) = onEvent(DispatcherQueueStart(System.nanoTime(), call, dispatcher))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":72,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt\nLine 264: enqueuedCall.call.eventListener.dispatcherQueueStart(enqueuedCall.call, this)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt","line":264,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 37: import okhttp3.CallEvent.DispatcherQueueStart","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":37,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 89: assertThat(eventRecorder.eventSequence).none { it.isInstanceOf() }","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":89,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 102: val dispatcherQueueStart = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":102,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 115: val dispatcherQueueStart = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":115,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 138: val dispatcherQueueStartC1 = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":138,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 140: val dispatcherQueueStartA2 = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":140,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 142: val dispatcherQueueStartB2 = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":142,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 165: val dispatcherQueueStartA3 = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":165,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 167: val dispatcherQueueStartA4 = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":167,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 169: val dispatcherQueueStartA5 = eventRecorder.removeUpToEvent()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":169,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"no tipo de conteúdo do corpo da requisição está retornando nulo sem motivo aparente, o que causa erros em testes que esperam um MediaType válido.","query":"content type null","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt","symbol":"contentType","line":158,"lang":"pt","candidates":[{"text":"File: okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt\nLine 189: override fun contentType() = null","file":"okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt","line":189,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 194: if (headers[\"Content-Type\"] == null) {","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":194,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 366: return contentType != null && contentType.type == \"text\" && contentType.subtype == \"event-stream\"","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":366,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 1088: override fun contentType(): MediaType? = null","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":1088,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 1129: override fun contentType() = null","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":1129,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt\nLine 30: override fun contentType(): MediaType? = null","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt","line":30,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 733: override fun contentType(): MediaType? = contentType?.toMediaTypeOrNull()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":733,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt\nLine 147: if (contentType != null) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt","line":147,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt\nLine 214: require(headers?.get(\"Content-Type\") == null) { \"Unexpected header: Content-Type\" }","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt","line":214,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 472: if (contentType != null && name.equals(\"Content-Type\", ignoreCase = true)) continue","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":472,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 476: if (contentType != null) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":476,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 119: * Returns a new request body that transmits this string. If [contentType] is non-null and lacks","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":119,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 124: fun String.toRequestBody(contentType: MediaType? = null): RequestBody {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":124,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 132: fun ByteString.toRequestBody(contentType: MediaType? = null): RequestBody =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":132,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 146: fun FileDescriptor.toRequestBody(contentType: MediaType? = null): RequestBody =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":146,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 164: contentType: MediaType? = null,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":164,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 183: fun File.asRequestBody(contentType: MediaType? = null): RequestBody =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":183,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 199: contentType: MediaType? = null,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":199,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 235: * Returns a new response body that transmits this string. If [contentType] is non-null and","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":235,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 244: fun String.toResponseBody(contentType: MediaType? = null): ResponseBody {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":244,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 253: fun ByteArray.toResponseBody(contentType: MediaType? = null): ResponseBody =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":253,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 261: fun ByteString.toResponseBody(contentType: MediaType? = null): ResponseBody =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":261,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 270: contentType: MediaType? = null,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":270,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt\nLine 43: if (contentType != null) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt","line":43,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealResponseBody.kt\nLine 34: override fun contentType(): MediaType? = contentTypeString?.toMediaTypeOrNull()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealResponseBody.kt","line":34,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt\nLine 100: finalContentType = \"$this; charset=utf-8\".toMediaTypeOrNull()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt","line":100,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 798: override fun contentType(): MediaType? = \"application/text-plain\".toMediaTypeOrNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":798,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 441: assertThat(recordedRequest.headers[\"Content-Type\"]).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":441,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 595: assertThat(recordedRequest.headers[\"Content-Type\"]).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":595,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 722: assertThat(recordedRequest.headers[\"Content-Type\"]).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":722,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 2411: override fun contentType(): MediaType? = null","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":2411,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 2445: override fun contentType(): MediaType? = null","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":2445,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"测试拦截器链在覆盖超时设置时的行为,尤其是如何通过修改传入的整数值来改变读取超时的时长。","query":"interceptor chain timeout","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","symbol":"withOverride","line":812,"lang":"zh","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 842: public abstract fun withConnectTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/android/okhttp.api","line":842,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 850: public abstract fun withReadTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/android/okhttp.api","line":850,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 854: public abstract fun withWriteTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/android/okhttp.api","line":854,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 842: public abstract fun withConnectTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/jvm/okhttp.api","line":842,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 850: public abstract fun withReadTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/jvm/okhttp.api","line":850,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 854: public abstract fun withWriteTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/jvm/okhttp.api","line":854,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 794: override fun Interceptor.Chain.value(): Int = connectTimeoutMillis()","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":794,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 796: override fun Interceptor.Chain.withOverride(value: Int): Interceptor.Chain = withConnectTimeout(value, TimeUnit.MILLISECONDS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":796,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 810: override fun Interceptor.Chain.value(): Int = readTimeoutMillis()","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":810,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 812: override fun Interceptor.Chain.withOverride(value: Int): Interceptor.Chain = withReadTimeout(value, TimeUnit.MILLISECONDS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":812,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 825: override fun Interceptor.Chain.value(): Int = writeTimeoutMillis()","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":825,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 827: override fun Interceptor.Chain.withOverride(value: Int): Interceptor.Chain = withWriteTimeout(value, TimeUnit.MILLISECONDS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":827,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estou tentando configurar o rastreamento de métricas das requisições. Como eu faço para passar uma fábrica de ouvintes que gere novos instanciadores para cada chamada feita pelo cliente?","query":"event listener factory","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","symbol":"eventListenerFactory","line":728,"lang":"pt","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 230: .eventListenerFactory(","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":230,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 320: .eventListenerFactory(","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":320,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 415: .eventListenerFactory(","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":415,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 616: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":616,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 703: .eventListenerFactory(","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":703,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 749: .eventListenerFactory(clientTestRule.wrap(LoggingEventListener.Factory()))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":749,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 956: .eventListenerFactory(","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":956,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt\nLine 80: val client = clientBuilder.eventListenerFactory(LoggingEventListener.Factory()).build()","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt","line":80,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 102: eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors,","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":102,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 177: * EventListener.Factory","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":177,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 179: * LoggingEventListener.Factory","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":179,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/events.md\nLine 105: ### EventListener.Factory","file":"docs/features/events.md","line":105,"lexical":0.65,"target":false},{"text":"File: docs/features/events.md\nLine 107: …ed a field, `callStartNanos`, to track the elapsed time of each event. This is handy, but it won’t work if multiple calls are executing concurrently. To accommodate this, use a `Factory` to create a new `EventListener` instance for each `Call`. This allo…","file":"docs/features/events.md","line":107,"lexical":0.65,"target":false},{"text":"File: docs/features/events.md\nLine 205: The `EventListener.Factory` also makes it possible to limit metrics to a subset of calls. This one captures metrics on a random 10%:","file":"docs/features/events.md","line":205,"lexical":0.65,"target":false},{"text":"File: module-tests/src/main/java/okhttp3/modules/OkHttpCaller.java\nLine 33: .eventListenerFactory(new LoggingEventListener.Factory(HttpLoggingInterceptor.Logger.DEFAULT))","file":"module-tests/src/main/java/okhttp3/modules/OkHttpCaller.java","line":33,"lexical":0.44999999999999996,"target":false},{"text":"File: okcurl/src/main/kotlin/okhttp3/curl/Main.kt\nLine 128: builder.eventListenerFactory(LoggingEventListener.Factory(logger))","file":"okcurl/src/main/kotlin/okhttp3/curl/Main.kt","line":128,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/api/logging-interceptor.api\nLine 76: public class okhttp3/logging/LoggingEventListener$Factory : okhttp3/EventListener$Factory {","file":"okhttp-logging-interceptor/api/logging-interceptor.api","line":76,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 36: * [event listener factory][OkHttpClient.eventListenerFactory].","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":36,"lexical":0.65,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 255: ) : EventListener.Factory {","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":255,"lexical":0.65,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 57: private val loggingEventListenerFactory = LoggingEventListener.Factory(logRecorder)","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":57,"lexical":0.65,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 66: .eventListenerFactory(loggingEventListenerFactory)","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":66,"lexical":0.65,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 183: .eventListenerFactory(loggingEventListenerFactory)","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":183,"lexical":0.65,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 247: val listener = loggingEventListenerFactory.create(call)","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":247,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt\nLine 33: EventSource.Factory { request, listener ->","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt","line":33,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 70: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":70,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 340: return factory.newEventSource(request, listener)","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":340,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 27: EventListener.Factory {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":27,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 137: EventListener.Factory {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":137,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 143: fun wrap(eventListenerFactory: EventListener.Factory) =","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":143,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 144: EventListener.Factory { call ->","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":144,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 145: ClientRuleEventListener(::addEvent) + eventListenerFactory.create(call)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":145,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 163: .eventListenerFactory { ClientRuleEventListener(logger = ::addEvent) }","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":163,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"implementa a função que interrompe o fluxo de troca de dados","query":"cancel exchange","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","symbol":"cancel","line":159,"lang":"pt","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 160: this@Exchange.cancel()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":160,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 172: exchange?.cancel()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":172,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 333: * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":333,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Il semble y avoir un problème lors du traitement des connexions entrantes sur le serveur de test ; la logique qui gère le cycle de vie des sockets après l'établissement de la connexion ne semble pas fonctionner correctement.","query":"socket connection handler","file":"mockwebserver/src/main/kotlin/mockwebserver3/SocketHandler.kt","symbol":"handle","line":27,"lang":"fr","candidates":[{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 427: SocketHandler(connectionIndex, raw, firstExchangePeek).handle()","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":427,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 523: val http2SocketHandler = Http2SocketHandler(connectionIndex, socket, protocol)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":523,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Comment implémenter un SSLSocketFactory qui délègue les appels et permet de configurer les sockets après leur création ?","query":"delegating ssl socket factory","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocketFactory.kt","symbol":"DelegatingSSLSocketFactory","line":28,"lang":"fr","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 95: import okhttp3.sockets.DelegatingSSLSocketFactory","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":95,"lexical":0.5,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 811: object : DelegatingSSLSocketFactory(sslSocketFactory) {","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":811,"lexical":0.5,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 821: .sslSocketFactory(delegatingSocketFactory, trustManager)","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":821,"lexical":0.5,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt\nLine 30: import okhttp3.sockets.DelegatingSSLSocketFactory","file":"android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt","line":30,"lexical":0.5,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt\nLine 41: ) : DelegatingSSLSocketFactory(delegate) {","file":"android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt","line":41,"lexical":0.5,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt\nLine 32: import okhttp3.sockets.DelegatingSSLSocketFactory","file":"android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt","line":32,"lexical":0.5,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt\nLine 53: ) : DelegatingSSLSocketFactory(delegate) {","file":"android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt","line":53,"lexical":0.5,"target":false},{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt\nLine 29: import okhttp3.sockets.DelegatingSSLSocketFactory","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt","line":29,"lexical":0.65,"target":false},{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt\nLine 84: val socketFactory = DelegatingSSLSocketFactory(context.socketFactory)","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt","line":84,"lexical":0.65,"target":false},{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt\nLine 89: object : DelegatingSSLSocket(context.socketFactory.createSocket() as SSLSocket) {}","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt","line":89,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocketFactory.kt\nLine 28: open class DelegatingSSLSocketFactory(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingSSLSocketFactory.kt","line":28,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 119: import okhttp3.sockets.DelegatingSSLSocketFactory","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":119,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 5047: return object : DelegatingSSLSocketFactory(sslSocketFactory) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":5047,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 5057: ) : DelegatingSSLSocketFactory(delegate) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":5057,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt\nLine 22: import okhttp3.sockets.DelegatingSSLSocketFactory","file":"okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt","line":22,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt\nLine 32: ) : DelegatingSSLSocketFactory(delegate) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt","line":32,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 54: import okhttp3.sockets.DelegatingSSLSocketFactory","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":54,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 671: DelegatingSSLSocketFactory(Platform.get().newSslSocketFactory(Platform.get().platformTrustManager())) {}","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":671,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 674: object : DelegatingSSLSocketFactory(Platform.get().newSslSocketFactory(Platform.get().platformTrustManager())) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":674,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 678: override fun isDefaultValue(value: SSLSocketFactory?): Boolean = value !is DelegatingSSLSocketFactory","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":678,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt\nLine 28: import okhttp3.sockets.DelegatingSSLSocketFactory","file":"okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt","line":28,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt\nLine 86: object : DelegatingSSLSocketFactory(systemSslSocketFactory) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt","line":86,"lexical":0.5,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt\nLine 42: import okhttp3.sockets.DelegatingSSLSocketFactory","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt","line":42,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt\nLine 164: object : DelegatingSSLSocketFactory(sslSocketFactory) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt","line":164,"lexical":0.65,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java\nLine 61: SSLSocketFactory customSslSocketFactory = new DelegatingSSLSocketFactory(sslSocketFactory) {","file":"samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java","line":61,"lexical":0.5,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java\nLine 111: static class DelegatingSSLSocketFactory extends SSLSocketFactory {","file":"samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java","line":111,"lexical":0.5,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java\nLine 114: DelegatingSSLSocketFactory(SSLSocketFactory delegate) {","file":"samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java","line":114,"lexical":0.5,"target":false}]} {"site":"project_search","repo":"okhttp","task":"busca la función que gestiona la recepción de cabeceras y crea nuevos flujos si no existen","query":"http2 headers stream","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","symbol":"headers","line":667,"lang":"es","candidates":[{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 1114: stream.writeHeaders(response.toHttp2Headers(), outFinished = false, flushHeaders = true)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":1114,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 1201: stream.writeHeaders(response.toHttp2Headers(), outFinished, flushHeaders)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":1201,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 944: HSPLokhttp3/internal/http2/Http2Stream;->(ILokhttp3/internal/http2/Http2Connection;ZZLokhttp3/Headers;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":944,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 951: HSPLokhttp3/internal/http2/Http2Stream;->receiveHeaders(Lokhttp3/Headers;Z)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":951,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 228: ): Http2Stream = newStream(0, requestHeaders, out)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":228,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 693: val newStream = Http2Stream(streamId, this@Http2Connection, false, inFinished, headers)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":693,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 1000: * [replying to the stream][Http2Stream.writeHeaders] or [closing it][Http2Stream.close]. This","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":1000,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt\nLine 84: stream = http2Connection.newStream(requestHeaders, hasRequestBody)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt","line":84,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 261: assertThat(synStream1.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":261,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 263: assertThat(synStream2.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":263,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 305: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":305,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 337: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":337,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 385: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":385,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 539: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":539,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 568: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":568,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 596: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":596,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 628: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":628,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 657: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":657,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 696: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":696,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 817: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":817,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 848: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":848,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 878: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":878,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1107: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1107,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1146: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1146,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1185: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1185,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1221: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1221,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1245: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1245,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1271: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1271,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1303: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1303,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1331: assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1331,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1374: assertThat(synStream1.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1374,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1376: assertThat(synStream2.type).isEqualTo(Http2.TYPE_HEADERS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1376,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Ich erhalte eine IllegalStateException, wenn ich versuche, die Ausführung einer HTTP-Anfrage zu starten, die bereits vorher aufgerufen wurde. Bitte klären, warum diese Ausnahme geworfen wird und wie das korrekte Verhalten bei der Wiederverwendung oder erneuten Ausführung einer solchen Anfrage aussieht.","query":"call execute state illegal","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt","symbol":"execute","line":55,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt\nLine 53: * @throws IllegalStateException when the call has already been executed.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt","line":53,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt\nLine 67: * @throws IllegalStateException when the call has already been executed.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt","line":67,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Die Funktion zum Abbrechen der Verbindung setzt zwar den Status auf abgebrochen, schließt aber den aktuellen Stream nicht sofort, sondern delegiert das Schließen an einen späteren Zeitpunkt mit dem entsprechenden Fehlercode.","query":"cancel closeLater","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt","symbol":"cancel","line":124,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt\nLine 88: stream!!.closeLater(ErrorCode.CANCEL)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt","line":88,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt\nLine 126: stream?.closeLater(ErrorCode.CANCEL)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt","line":126,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 254: closeLater(ErrorCode.CANCEL)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":254,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 726: closeLater(ErrorCode.CANCEL)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":726,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"帮我找一下那个用来测试网络事件监听器回调,并且可以配置是在客户端还是其他地方安装监听器的测试类。","query":"EventListener Test","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","symbol":"EventListenerTest","line":108,"lang":"zh","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 608: fun testEventListener() {","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":608,"lexical":0.6000000000000001,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 616: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":616,"lexical":0.6000000000000001,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 749: .eventListenerFactory(clientTestRule.wrap(LoggingEventListener.Factory()))","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":749,"lexical":0.6000000000000001,"target":false},{"text":"File: android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt\nLine 79: fun testLoggingEventListener() {","file":"android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt","line":79,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 42: class LoggingEventListenerTest {","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":42,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 70: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":70,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt\nLine 19: * A special [EventListener] for testing the mechanics of event listeners.","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt","line":19,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 168: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":168,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1295: clientTestRule.wrap(eventRecorder.eventListener + requestFinishedListener),","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1295,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt\nLine 253: ).eventListenerFactory(clientTestRule.wrap(listener1))","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt","line":253,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt\nLine 286: .eventListenerFactory(clientTestRule.wrap(request2Listener))","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt","line":286,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt\nLine 466: .eventListenerFactory(clientTestRule.wrap(listener))","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt","line":466,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 60: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":60,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 96: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":96,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 112: class EventListenerTest(","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":112,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 131: eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":131,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt\nLine 102: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt","line":102,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt\nLine 82: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt","line":82,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt\nLine 81: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt","line":81,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt\nLine 77: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt","line":77,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 945: .eventListenerFactory(clientTestRule.wrap(eventRecorder))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":945,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"各テストの終了後に、イベントリスナーが全てのイベントを消化しきっているか確認する処理はどこにありますか?","query":"assertExhausted listener","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt","symbol":"after","line":47,"lang":"ja","candidates":[{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 75: listener.assertExhausted()","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":75,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt\nLine 49: listener.assertExhausted()","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt","line":49,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 74: client.listener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":74,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 75: server.listener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":75,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 273: server.listener.assertExhausted() // Client should not have sent second close.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":273,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 274: client.listener.assertExhausted() // Server should not have sent second close.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":274,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 321: server.listener.assertExhausted() // Client should not have sent second close.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":321,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 341: server.listener.assertExhausted() // Client should not have sent second close.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":341,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 127: clientListener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":127,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 198: serverListener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":198,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 252: serverListener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":252,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 279: serverListener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":279,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 306: clientListener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":306,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 309: serverListener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":309,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 1217: clientListener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":1217,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 1218: serverListener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":1218,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 1285: clientListener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":1285,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 1286: serverListener.assertExhausted()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":1286,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"check if a stream contains human readable text by looking for control characters","query":"is probably utf8","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt","symbol":"isProbablyUtf8","line":28,"lang":"en","candidates":[{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 31: import okhttp3.internal.isProbablyUtf8","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":31,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 233: if (!buffer.isProbablyUtf8(16L)) {","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":233,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 309: if (!buffer.isProbablyUtf8(16L)) {","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":309,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 26: import okhttp3.internal.isProbablyUtf8","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":26,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 485: if (bodyBuffer.isProbablyUtf8()) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":485,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt\nLine 28: internal fun BufferedSource.isProbablyUtf8(codePointLimit: Long = Long.MAX_VALUE): Boolean {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt","line":28,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 28: class IsProbablyUtf8Test {","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":28,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 29: @Test fun isProbablyUtf8() {","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":29,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 30: assertThat(Buffer().isProbablyUtf8(16L)).isTrue()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":30,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 31: assertThat(Buffer().writeUtf8(\"abc\").isProbablyUtf8(16L)).isTrue()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":31,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 32: assertThat(Buffer().writeUtf8(\"new\\r\\nlines\").isProbablyUtf8(16L)).isTrue()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":32,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 33: assertThat(Buffer().writeUtf8(\"white\\t space\").isProbablyUtf8(16L)).isTrue()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":33,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 34: assertThat(Buffer().writeUtf8(\"Слава Україні!\").isProbablyUtf8(16L)).isTrue()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":34,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 35: assertThat(Buffer().writeByte(0x80).isProbablyUtf8(16L)).isTrue()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":35,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 36: assertThat(Buffer().writeByte(0x00).isProbablyUtf8(16L)).isFalse()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":36,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 37: assertThat(Buffer().writeByte(0xc0).isProbablyUtf8(16L)).isFalse()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":37,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 43: assertThat(buffer.isProbablyUtf8(100L)).isTrue()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":43,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 47: /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":47,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 65: assertThat(unlimitedSource.buffer().isProbablyUtf8(1L)).isTrue()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":65,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 66: assertThat(unlimitedSource.buffer().isProbablyUtf8(1024L)).isTrue()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":66,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt\nLine 67: assertThat(unlimitedSource.buffer().isProbablyUtf8(1024L * 1024L)).isTrue()","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt","line":67,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Es gibt ein Problem beim Aufräumen der temporären Verzeichnisse für Downloads; die Funktion zum Löschen der heruntergeladenen Dateien wurde nicht gefunden.","query":"remove tmp download","file":"maven-tests/mvnw","symbol":"clean","line":162,"lang":"de","candidates":[{"text":"File: maven-tests/mvnw.cmd\nLine 104: try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null }","file":"maven-tests/mvnw.cmd","line":104,"lexical":0.44999999999999996,"target":false},{"text":"File: maven-tests/mvnw.cmd\nLine 105: catch { Write-Warning \"Cannot remove $TMP_DOWNLOAD_DIR\" }","file":"maven-tests/mvnw.cmd","line":105,"lexical":0.44999999999999996,"target":false},{"text":"File: maven-tests/mvnw.cmd\nLine 145: try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null }","file":"maven-tests/mvnw.cmd","line":145,"lexical":0.44999999999999996,"target":false},{"text":"File: maven-tests/mvnw.cmd\nLine 146: catch { Write-Warning \"Cannot remove $TMP_DOWNLOAD_DIR\" }","file":"maven-tests/mvnw.cmd","line":146,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"検証各HTTPレスポンスコードのキャッシュ挙動","query":"cache response code","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","symbol":"responseCachingByResponseCode","line":119,"lang":"ja","candidates":[{"text":"File: docs/changelogs/changelog_2x.md\nLine 323: * Fix: Update cache-by-default response codes.","file":"docs/changelogs/changelog_2x.md","line":323,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 107: * **Response**: body, cacheControl, cacheResponse, code, handshake, headers, message,","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":107,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 253: .assertLogMatch(Regex(\"\"\"cacheConditionalHit: Response\\{protocol=h2, code=200, message=, url=$url\\}\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":253,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 254: .assertLogMatch(Regex(\"\"\"cacheHit: Response\\{protocol=h2, code=200, message=, url=$url\\}\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":254,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 121: * if (forceCacheResponse.code() != 504) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":121,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 302: // Always go to network for uncacheable response codes (RFC 7231 section 6.1), This","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":302,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 323: // These codes can only be cached with the right response headers.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":323,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 978: private fun temporaryRedirectNotCachedWithoutCachingHeader(responseCode: Int) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":978,"lexical":0.65,"target":true}]} {"site":"project_search","repo":"okhttp","task":"Preciso de um método de extensão para a interface Chain que permita sobrescrever o timeout de escrita. Isso vai facilitar os testes de interceptores que dependem de configurações de tempo.","query":"override write timeout","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","symbol":"withOverride","line":827,"lang":"pt","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 96: * write timeout. Original configuration is kept, but can be overriden.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":96,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 194: override fun writeTimeoutMillis(): Int = writeTimeoutMillis","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":194,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 196: override fun withWriteTimeout(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":196,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 640: override fun timeout(): Timeout = writeTimeout","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":640,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 101: OverrideParam.WriteTimeout,","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":101,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 163: OverrideParam.WriteTimeout,","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":163,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 214: OverrideParam.WriteTimeout,","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":214,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 287: OverrideParam.WriteTimeout -> {","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":287,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 426: WriteTimeout(Override.WriteTimeoutOverride) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":426,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 824: object WriteTimeoutOverride : Override {","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":824,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 825: override fun Interceptor.Chain.value(): Int = writeTimeoutMillis()","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":825,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 827: override fun Interceptor.Chain.withOverride(value: Int): Interceptor.Chain = withWriteTimeout(value, TimeUnit.MILLISECONDS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":827,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 829: override fun OkHttpClient.Builder.withOverride(value: Int): OkHttpClient.Builder = writeTimeout(value.toLong(), TimeUnit.MILLISECONDS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":829,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 1365: override fun writeTimeoutMillis(): Int = TODO()","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":1365,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 1367: override fun withWriteTimeout(","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":1367,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"캐시 에ント리의 인증서 부분을 임의로 손상시키는 함수를 찾아주세요","query":"corrupt certificate cache","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","symbol":"corruptCertificate","line":415,"lang":"ko","candidates":[{"text":"File: docs/changelogs/changelog_4x.md\nLine 10: * Fix: Recover gracefully when a cache entry's certificate is corrupted.","file":"docs/changelogs/changelog_4x.md","line":10,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 652: val certificateBytes = line.decodeBase64() ?: throw IOException(\"Corrupt certificate in cache entry\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":652,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 407: corruptCertificate(cacheEntry)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":407,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 415: private fun corruptCertificate(cacheEntry: Path) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":415,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Ich finde keinen Weg, den Status einer asynchronen Anfrage innerhalb der Testumgebung zu prüfen, um festzustellen, ob der Dispatcher die Ausführung bereits abgeschlossen hat.","query":"dispatcher finished async","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt","symbol":"finishedAccessor","line":47,"lang":"de","candidates":[{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 588: HSPLokhttp3/Dispatcher;->finished$okhttp(Lokhttp3/internal/connection/RealCall$AsyncCall;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":588,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt\nLine 47: internal fun Dispatcher.finishedAccessor(call: RealCall.AsyncCall) = this.finished(call)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt","line":47,"lexical":0.44999999999999996,"target":true}]} {"site":"project_search","repo":"okhttp","task":"HTTP 응답 헤더 수신 완료 시점에 등록된 모든 이벤트 리스너에 해당 콜과 응답 정보를 전달하여 후속 처리를 호출하는 메서드를 찾아주세요.","query":"response headers end","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","symbol":"responseHeadersEnd","line":752,"lang":"ko","candidates":[{"text":"File: android-test/src/androidTest/README.md\nLine 24: 01-01 12:53:32.811 10999 11089 D OkHttp : [49 ms] responseHeadersEnd: Response{protocol=h2, code=200, message=, url=https://1.1.1.1/dns-query?dns=AAABAAABAAAAAAAAA3d3dwhmYWNlYm9vawNjb20AABwAAQ}","file":"android-test/src/androidTest/README.md","line":24,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/README.md\nLine 30: 01-01 12:53:32.816 10999 11090 D OkHttp : [54 ms] responseHeadersEnd: Response{protocol=h2, code=200, message=, url=https://1.1.1.1/dns-query?dns=AAABAAABAAAAAAAAA3d3dwhmYWNlYm9vawNjb20AAAEAAQ}","file":"android-test/src/androidTest/README.md","line":30,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 68: import okhttp3.CallEvent.ResponseHeadersEnd","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":68,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 643: ResponseHeadersEnd::class,","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":643,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 666: ResponseHeadersEnd::class,","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":666,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/events.md\nLine 85: 0.675 responseHeadersEnd","file":"docs/features/events.md","line":85,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/events.md\nLine 96: 0.082 responseHeadersEnd","file":"docs/features/events.md","line":96,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/events.md\nLine 193: 0002 0.474 responseHeadersEnd","file":"docs/features/events.md","line":193,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/events.md\nLine 195: 0001 0.554 responseHeadersEnd","file":"docs/features/events.md","line":195,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/api/logging-interceptor.api\nLine 66: public fun responseHeadersEnd (Lokhttp3/Call;Lokhttp3/Response;)V","file":"okhttp-logging-interceptor/api/logging-interceptor.api","line":66,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 181: override fun responseHeadersEnd(","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":181,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 185: logWithTime(\"responseHeadersEnd: $response\")","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":185,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 103: .assertLogMatch(Regex(\"\"\"responseHeadersEnd: Response\\{protocol=http/1\\.1, code=200, message=OK, url=$url\\}\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":103,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 133: .assertLogMatch(Regex(\"\"\"responseHeadersEnd: Response\\{protocol=http/1\\.1, code=200, message=OK, url=$url\\}\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":133,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 169: .assertLogMatch(Regex(\"\"\"responseHeadersEnd: Response\\{protocol=h2, code=200, message=, url=$url\\}\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":169,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 40: import okhttp3.CallEvent.ResponseHeadersEnd","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":40,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 271: ResponseHeadersEnd::class,","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":271,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 202: data class ResponseHeadersEnd(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":202,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 167: override fun responseHeadersEnd(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":167,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 171: logWithTime(\"responseHeadersEnd: $response\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":171,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 49: import okhttp3.CallEvent.ResponseHeadersEnd","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":49,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 195: override fun responseHeadersEnd(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":195,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 198: ) = onEvent(ResponseHeadersEnd(System.nanoTime(), call, response.headers.byteCount()))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":198,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 587: public fun responseHeadersEnd (Lokhttp3/Call;Lokhttp3/Response;)V","file":"okhttp/api/android/okhttp.api","line":587,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 587: public fun responseHeadersEnd (Lokhttp3/Call;Lokhttp3/Response;)V","file":"okhttp/api/jvm/okhttp.api","line":587,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 614: HSPLokhttp3/EventListener;->responseHeadersEnd(Lokhttp3/Call;Lokhttp3/Response;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":614,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 554: val sendRequestMillisString = responseHeadersBuilder[SENT_MILLIS]","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":554,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 46: * * headers ([responseHeadersStart], [responseHeadersEnd])","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":46,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 340: open fun responseHeadersEnd(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":340,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 752: override fun responseHeadersEnd(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":752,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 757: delegate.responseHeadersEnd(call, response)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":757,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 127: fun responseHeadersEnd(response: Response) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":127,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Zeig mir, wie ich mit OkHttp eine Anfrage stelle und antwortende Header wie 'Server', 'Date' und 'Vary' auslese.","query":"okhttp read headers","file":"samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt","symbol":"run","line":25,"lang":"de","candidates":[{"text":"File: docs/features/calls.md\nLine 17: OkHttp may add headers that are absent from the original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless t…","file":"docs/features/calls.md","line":17,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/recipes.md\nLine 61: Download a file on a worker thread, and get called back when the response is readable. The callback is made after the response headers are ready. Reading the response body may still block. OkHttp doesn't currently offer asynchronous APIs to receive a respo…","file":"docs/recipes.md","line":61,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 797: HSPLokhttp3/internal/connection/Exchange;->readResponseHeaders(Z)Lokhttp3/Response$Builder;","file":"okhttp/src/androidMain/baseline-prof.txt","line":797,"lexical":0.55,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 903: HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;->headers(ZIILjava/util/List;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":903,"lexical":0.55,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 922: HSPLokhttp3/internal/http2/Http2ExchangeCodec;->readResponseHeaders(Z)Lokhttp3/Response$Builder;","file":"okhttp/src/androidMain/baseline-prof.txt","line":922,"lexical":0.55,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 1725: Lokhttp3/internal/http2/Http2Connection$ReaderRunnable$headers$1$1;","file":"okhttp/src/androidMain/baseline-prof.txt","line":1725,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 326: * Prior to OkHttp 4.3 this was incorrectly invoked when the client was ready to read headers.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":326,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt\nLine 22: import okhttp3.internal.http1.HeadersReader","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt","line":22,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt\nLine 23: import okhttp3.internal.http2.Http2ExchangeCodec.Companion.readHttp2HeadersList","file":"okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt","line":23,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"mostrar cómo obtener los hashes de los certificados de una conexión https","query":"certificate pin example","file":"samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java","symbol":"run","line":33,"lang":"es","candidates":[{"text":"File: docs/changelogs/changelog_4x.md\nLine 391: * New: Match any number of subdomains with two asterisks in `CertificatePinner`. For example,","file":"docs/changelogs/changelog_4x.md","line":391,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 40: certificatePinner.check(\"example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":40,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 73: assertThat(certificatePinner.findMatchingPins(\"a.example.com\")).isEqualTo(expectedPins)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":73,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 84: assertThat(certificatePinner.findMatchingPins(\"example.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":84,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 85: assertThat(certificatePinner.findMatchingPins(\"..example.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":85,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 86: assertThat(certificatePinner.findMatchingPins(\"a..example.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":86,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 87: assertThat(certificatePinner.findMatchingPins(\"a.b.example.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":87,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 99: assertThat(certificatePinner.findMatchingPins(\"example.com\")).isEqualTo(expectedPin1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":99,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 100: assertThat(certificatePinner.findMatchingPins(\".example.com\")).isEqualTo(expectedPin1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":100,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 101: assertThat(certificatePinner.findMatchingPins(\"..example.com\")).isEqualTo(expectedPin1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":101,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 102: assertThat(certificatePinner.findMatchingPins(\"a..example.com\")).isEqualTo(expectedPin1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":102,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 103: assertThat(certificatePinner.findMatchingPins(\"a.b.example.com\")).isEqualTo(expectedPin1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":103,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 115: assertThat(certificatePinner.findMatchingPins(\"dexample.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":115,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 116: assertThat(certificatePinner.findMatchingPins(\"barnexample.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":116,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 128: assertThat(certificatePinner.findMatchingPins(\"example.com\")).isEqualTo(expectedPin1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":128,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 131: assertThat(certificatePinner.findMatchingPins(\"a.myexample.com\")).isEqualTo(expectedPin2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":131,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 154: assertThat(certificatePinner.findMatchingPins(\"a.example.com.notexample.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":154,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 155: assertThat(certificatePinner.findMatchingPins(\"example.com.notexample.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":155,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 156: assertThat(certificatePinner.findMatchingPins(\"notexample.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":156,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 157: assertThat(certificatePinner.findMatchingPins(\"example.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":157,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 158: assertThat(certificatePinner.findMatchingPins(\"a.b.example.com\")).isEmpty()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":158,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 163: assertThat(certificatePinner.findMatchingPins(\"a.example.com\")).containsExactly(expectedPin)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":163,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 164: assertThat(certificatePinner.findMatchingPins(\".example.com\")).containsExactly(expectedPin)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":164,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 165: assertThat(certificatePinner.findMatchingPins(\"example.example.com\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":165,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 199: .add(\"example.com\", CertificatePinnerTest.certA1Sha256Pin)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":199,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 200: .add(\"www.example.com\", CertificatePinnerTest.certA1Sha256Pin)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":200,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 205: Pin(\"example.com\", CertificatePinnerTest.certA1Sha256Pin),","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":205,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt\nLine 206: Pin(\"www.example.com\", CertificatePinnerTest.certA1Sha256Pin),","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt","line":206,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 78: certificatePinner.check(\"example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":78,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 88: certificatePinner.check(\"example.com\", certA1.certificate, certB1.certificate)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":88,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 112: certificatePinner.check(\"example.com\", certB1.certificate)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":112,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt\nLine 123: certificatePinner.check(\"example.com\", listOf(certA1.certificate))","file":"okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt","line":123,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"http 프로토콜 버전과 상태 코드를 포함한 상태 라인 문자열 파싱하는 로직 찾아줘","query":"parse status line","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt","symbol":"parse","line":44,"lang":"ko","candidates":[{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 868: HSPLokhttp3/internal/http/StatusLine;->parse(Ljava/lang/String;)Lokhttp3/internal/http/StatusLine;","file":"okhttp/src/androidMain/baseline-prof.txt","line":868,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 545: val statusLine = StatusLine.parse(source.readUtf8LineStrict())","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":545,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt\nLine 45: fun parse(statusLine: String): StatusLine {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt","line":45,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 215: val statusLine = StatusLine.parse(headersReader.readLine())","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":215,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt\nLine 202: statusLine = StatusLine.parse(\"HTTP/1.1 $value\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt","line":202,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt\nLine 23: import okhttp3.internal.http.StatusLine.Companion.parse","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt","line":23,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt\nLine 32: val statusLine = parse(\"HTTP/1.$version $code $message\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt","line":32,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt\nLine 42: val statusLine = parse(\"HTTP/1.$version $code \")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt","line":42,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt\nLine 56: val statusLine = parse(\"HTTP/1.$version $code\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt","line":56,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt\nLine 65: val statusLine = parse(\"ICY 200 OK\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt","line":65,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt\nLine 121: parse(statusLine)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt","line":121,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"我正在处理网络连接逻辑,需要找到设置套接字连接超时时间的具体实现方法。请展示该函数的定义,以便我确认其如何处理连接超时参数。","query":"socket connect timeout","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt","symbol":"connectSocket","line":167,"lang":"zh","candidates":[{"text":"File: CHANGELOG.md\nLine 458: * New: `OkHttpClient.webSocketCloseTimeout` configures how long a web socket connection will wait","file":"CHANGELOG.md","line":458,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 138: * Fix: Apply call timeouts when connecting duplex calls, web sockets, and server-sent events.","file":"docs/changelogs/changelog_3x.md","line":138,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 104: readTimeoutMillis, retryOnConnectionFailure, socketFactory, sslSocketFactory, writeTimeoutMillis","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":104,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt\nLine 50: super.connect(inetSocketAddress, timeout)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt","line":50,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt\nLine 186: socketConnectTimeoutMillis = chain.connectTimeoutMillis,","file":"okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt","line":186,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt\nLine 303: socket.connect(remoteAddr, timeout)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt","line":303,"lexical":0.65,"target":false},{"text":"File: okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt\nLine 70: socket.connect(address, connectTimeout)","file":"okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt","line":70,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1137: * The connect timeout is applied when connecting a TCP socket to the target host. The default","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1137,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1151: * The connect timeout is applied when connecting a TCP socket to the target host. The default","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1151,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1165: * The connect timeout is applied when connecting a TCP socket to the target host. The default","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1165,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1327: * Sets the close timeout for web socket connections. A value of 0 means no timeout, otherwise","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1327,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1342: * Sets the close timeout for web socket connections. A value of 0 means no timeout, otherwise","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1342,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1357: * Sets the close timeout for web socket connections. A value of 0 means no timeout, otherwise","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1357,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 67: private val socketConnectTimeoutMillis: Int,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":67,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 118: socketConnectTimeoutMillis = socketConnectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":118,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 283: Platform.get().connectSocket(rawSocket, route.socketAddress, socketConnectTimeoutMillis)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":283,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 604: socketConnectTimeoutMillis = socketConnectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":604,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt\nLine 280: socketConnectTimeoutMillis = chain.connectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt","line":280,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 164: javaNetSocket.soTimeout = 0 // HTTP/2 connection timeouts are set per-stream.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":164,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt\nLine 45: private val socketConnectTimeoutMillis: Int,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt","line":45,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt\nLine 244: socketConnectTimeoutMillis = socketConnectTimeoutMillis,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt","line":244,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt\nLine 40: // For the socket connect timeout case we do not try the same host with a different","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt","line":40,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt\nLine 173: socket.connect(address, connectTimeout)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt","line":173,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 323: DelayingSocketFactory(onConnect = { timeout ->","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":323,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 437: val onConnect: Socket.(timeout: Int) -> Unit = {},","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":437,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java\nLine 50: @Override public void connect(SocketAddress endpoint, int timeout) throws IOException {","file":"samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java","line":50,"lexical":0.65,"target":false},{"text":"File: samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java\nLine 52: super.connect(new UnixSocketAddress(path), timeout);","file":"samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java","line":52,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"キャッシュの条件付きヒットを検知してイベントを通知する処理はどこにありますか?","query":"cache conditional hit","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","symbol":"cacheConditionalHit","line":239,"lang":"ja","candidates":[{"text":"File: docs/changelogs/changelog_3x.md\nLine 754: * Fix: Update the stored timestamp on conditional cache hits.","file":"docs/changelogs/changelog_3x.md","line":754,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 186: * New: Add `cacheHit`, `cacheMiss`, and `cacheConditionalHit()` events to `EventListener`. Use","file":"docs/changelogs/changelog_4x.md","line":186,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/caching.md\nLine 49: ### Conditional Cache Hit","file":"docs/features/caching.md","line":49,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/caching.md\nLine 51: When cache flags require checking the cache results are still valid an early cacheConditionalHit event is","file":"docs/features/caching.md","line":51,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/caching.md\nLine 58: - **CacheConditionalHit**","file":"docs/features/caching.md","line":58,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/api/logging-interceptor.api\nLine 40: public fun cacheConditionalHit (Lokhttp3/Call;Lokhttp3/Response;)V","file":"okhttp-logging-interceptor/api/logging-interceptor.api","line":40,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 239: override fun cacheConditionalHit(","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":239,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 243: logWithTime(\"cacheConditionalHit: $cachedResponse\")","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":243,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 248: listener.cacheConditionalHit(call, response)","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":248,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 253: .assertLogMatch(Regex(\"\"\"cacheConditionalHit: Response\\{protocol=h2, code=200, message=, url=$url\\}\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":253,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 244: data class CacheConditionalHit(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":244,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 225: override fun cacheConditionalHit(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":225,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 229: logWithTime(\"cacheConditionalHit\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":229,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 22: import okhttp3.CallEvent.CacheConditionalHit","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":22,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 239: override fun cacheConditionalHit(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":239,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 242: ) = onEvent(CacheConditionalHit(System.nanoTime(), call))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":242,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 559: public fun cacheConditionalHit (Lokhttp3/Call;Lokhttp3/Response;)V","file":"okhttp/api/android/okhttp.api","line":559,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 559: public fun cacheConditionalHit (Lokhttp3/Call;Lokhttp3/Response;)V","file":"okhttp/api/jvm/okhttp.api","line":559,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 72: * Sometimes a request will result in a conditional cache hit. If the cache contains a stale copy of","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":72,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 415: @Synchronized internal fun trackConditionalCacheHit() {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":415,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 476: open fun cacheConditionalHit(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":476,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 830: override fun cacheConditionalHit(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":830,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 835: delegate.cacheConditionalHit(call, cachedResponse)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":835,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 91: chain.eventListener.cacheConditionalHit(call, cacheResponse)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":91,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 123: cache!!.trackConditionalCacheHit()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":123,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 1981: fun conditionalCacheHitIsNotDoublePooled() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":1981,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 2544: fun statisticsConditionalCacheHit() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":2544,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 3140: fun conditionalHitUpdatesCache() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":3140,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 3171: // A conditional cache hit updates the cache.","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":3171,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1906: fun conditionalCacheHit() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1906,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1996: fun conditionalCacheHit_Async() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1996,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 51: import okhttp3.CallEvent.CacheConditionalHit","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":51,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Find the implementation that logs the completion of a network connection handshake for demonstration purposes.","query":"connectEnd printEvent","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java","symbol":"connectEnd","line":109,"lang":"en","candidates":[{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java\nLine 131: printEvent(\"secureConnectEnd\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","line":131,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java\nLine 136: printEvent(\"connectEnd\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","line":136,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java\nLine 106: printEvent(\"secureConnectEnd\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java","line":106,"lexical":0.6000000000000001,"target":true},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java\nLine 111: printEvent(\"connectEnd\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java","line":111,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"자바 실행 파일을 지정하는 변수가 설정되어 있지 않아 실행 시 오류가 발생할 수 있습니다. 실행 환경에서 사용할 자바 명령어를 정의하는 변수를 추가해 주세요.","query":"JAVACMD java","file":"gradlew","symbol":"JAVACMD","line":134,"lang":"ko","candidates":[{"text":"File: gradlew\nLine 123: JAVACMD=$JAVA_HOME/jre/sh/java","file":"gradlew","line":123,"lexical":0.39999999999999997,"target":true},{"text":"File: gradlew\nLine 125: JAVACMD=$JAVA_HOME/bin/java","file":"gradlew","line":125,"lexical":0.39999999999999997,"target":false},{"text":"File: gradlew\nLine 127: if [ ! -x \"$JAVACMD\" ] ; then","file":"gradlew","line":127,"lexical":0.39999999999999997,"target":false},{"text":"File: gradlew\nLine 134: JAVACMD=java","file":"gradlew","line":134,"lexical":0.39999999999999997,"target":false},{"text":"File: gradlew\nLine 175: JAVACMD=$( cygpath --unix \"$JAVACMD\" )","file":"gradlew","line":175,"lexical":0.39999999999999997,"target":false},{"text":"File: gradlew\nLine 248: exec \"$JAVACMD\" \"$@\"","file":"gradlew","line":248,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 44: # set JAVACMD and JAVACCMD","file":"maven-tests/mvnw","line":44,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 50: JAVACMD=\"$JAVA_HOME/jre/sh/java\"","file":"maven-tests/mvnw","line":50,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 53: JAVACMD=\"$JAVA_HOME/bin/java\"","file":"maven-tests/mvnw","line":53,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 56: if [ ! -x \"$JAVACMD\" ] || [ ! -x \"$JAVACCMD\" ]; then","file":"maven-tests/mvnw","line":56,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 63: JAVACMD=\"$(","file":"maven-tests/mvnw","line":63,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 74: if [ ! -x \"${JAVACMD-}\" ] || [ ! -x \"${JAVACCMD-}\" ]; then","file":"maven-tests/mvnw","line":74,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 219: \"$(native_path \"$JAVACMD\")\" -cp \"$(native_path \"$TMP_DOWNLOAD_DIR\")\" Downloader \"$distributionUrl\" \"$(native_path \"$targetZip\")\"","file":"maven-tests/mvnw","line":219,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"ネットワークインターセプターを介して接続情報にアクセスしようとすると、接続オブジェクトが正しく取得できない、あるいはnullになる可能性がある不具合の確認。ネットワーク層のインターセプター内で接続の詳細な属性を参照できるか検証したい。","query":"network interceptor connection","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt","symbol":"networkInterceptorsHaveConnectionAccess","line":200,"lang":"ja","candidates":[{"text":"File: docs/features/interceptors.md\nLine 114: The network requests also contain more data, such as the `Accept-Encoding: gzip` header added by OkHttp to advertise support for response compression. The network interceptor's `Chain` has a non-null `Connection` that can be used to interrogate the IP addr…","file":"docs/features/interceptors.md","line":114,"lexical":0.65,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 810: HSPLokhttp3/internal/connection/RealCall;->exitNetworkInterceptorExchange$okhttp(Z)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":810,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt\nLine 25: * Opens a connection to the target server and proceeds to the next interceptor. The network might","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt","line":25,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 218: check(exchange == null) { \"retryOnConnectionFailure can't be adjusted in a network interceptor\" }","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":218,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 302: check(exchange == null) { \"connectionPool can't be adjusted in a network interceptor\" }","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":302,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt\nLine 304: fun connectionsAreNotReusedIfNetworkInterceptorInterferes() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt","line":304,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt\nLine 201: fun networkInterceptorsHaveConnectionAccess() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt","line":201,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt\nLine 649: fun networkInterceptorReturnsConnectionOnEmptyBody() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt","line":649,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"How is a connection failure event logged or printed in the event demonstration code?","query":"connectFailed printEvent","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","symbol":"connectFailed","line":139,"lang":"en","candidates":[{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java\nLine 141: printEvent(\"connectFailed\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","line":141,"lexical":0.6000000000000001,"target":true},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java\nLine 116: printEvent(\"connectFailed\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java","line":116,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"wie starte ich das Programm?","query":"main method","file":"samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java","symbol":"main","line":55,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt\nLine 764: * In general this method **should not** be used to test whether a domain is valid or routable.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt","line":764,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt\nLine 208: /** Use a helper method so there's no hidden reference remaining on the stack. */","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt","line":208,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt\nLine 60: * 1. In your main method `WireSharkListenerFactory.register()`","file":"samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt","line":60,"lexical":0.5,"target":false},{"text":"File: samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt\nLine 66: val mainMethod =","file":"samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt","line":66,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt\nLine 72: if (mainMethod != null) {","file":"samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt","line":72,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt\nLine 73: if (mainMethod.parameters.isEmpty()) {","file":"samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt","line":73,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt\nLine 74: mainMethod.invoke(null)","file":"samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt","line":74,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt\nLine 76: mainMethod.invoke(null, arrayOf())","file":"samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt","line":76,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"SSLSocketFactoryを取得するインターセプターのチェーンの値を返す処理を確認したい。sslSocketFactoryOrNullから値を取得している。","query":"Interceptor chain SSL","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","symbol":"value","line":661,"lang":"ja","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 846: public abstract fun withHostnameVerifier (Ljavax/net/ssl/HostnameVerifier;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/android/okhttp.api","line":846,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 853: public abstract fun withSslSocketFactory (Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/X509TrustManager;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/android/okhttp.api","line":853,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 846: public abstract fun withHostnameVerifier (Ljavax/net/ssl/HostnameVerifier;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/jvm/okhttp.api","line":846,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 853: public abstract fun withSslSocketFactory (Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/X509TrustManager;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/jvm/okhttp.api","line":853,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 661: override fun Interceptor.Chain.value(): SSLSocketFactory? = sslSocketFactoryOrNull","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":661,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 663: override fun Interceptor.Chain.withOverride(value: SSLSocketFactory?): Interceptor.Chain =","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":663,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Investigate why the logic responsible for processing the outbound message queue and handling close frames returns false immediately if the connection state is marked as failed, and ensure that the mechanism for flushing queued data or closing the connection via the writer thread is behaving as expected.","query":"write frame queue","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","symbol":"writeOneFrame","line":520,"lang":"en","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 432: // Writer methods to enqueue frames. They'll be sent asynchronously by the writer thread.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":432,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 508: * Attempts to remove a single frame from a queue and send it. This prefers to write urgent pongs","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":508,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estoy revisando la lógica de ordenamiento de direcciones para evitar retrasos en la conexión. ¿Podrías mostrarme un ejemplo de prueba donde se verifique que las direcciones de nueva generación tengan prioridad sobre las antiguas siguiendo el algoritmo Happy Eyeballs?","query":"reorder Happy Eyeballs","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt","symbol":"prioritiseIpv6Example","line":39,"lang":"es","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt\nLine 33: internal fun reorderForHappyEyeballs(addresses: List): List {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt","line":33,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt\nLine 192: fastFallback -> reorderForHappyEyeballs(routesToTry)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt","line":192,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt\nLine 42: reorderForHappyEyeballs(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt","line":42,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt\nLine 59: val result = reorderForHappyEyeballs(listOf(ipv6_ab, ipv6_fc))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt","line":59,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt\nLine 69: reorderForHappyEyeballs(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt","line":69,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt\nLine 84: val result = reorderForHappyEyeballs(listOf(ipv6_ab))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt","line":84,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt\nLine 93: val result = reorderForHappyEyeballs(listOf(ipv4_10_0_0_6))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt","line":93,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt\nLine 102: val result = reorderForHappyEyeballs(listOf(ipv4_10_0_0_6, ipv6_ab))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt","line":102,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estou tentando entender como o cliente lida com o reuso de conexões após vários cancelamentos seguidos. Pode me mostrar o teste que valida se a conexão permanece funcional quando cancelamos várias requisições e depois enviamos uma que não deve ser interrompida?","query":"cancel reuse connection","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","symbol":"recoverFromMultipleCancelReusesConnection","line":1118,"lang":"pt","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 1080: fun recoverFromCancelReusesConnection() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":1080,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 1119: fun recoverFromMultipleCancelReusesConnection() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":1119,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"定义一个用于监听网络连接的抽象类来监控连接的建立和关闭事件","query":"connection listener","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt","symbol":"ConnectionListener","line":30,"lang":"zh","candidates":[{"text":"File: CHANGELOG.md\nLine 270: * Breaking: Remove `AddressPolicy`, `AsyncDns`, and `ConnectionListener` from the public API. We","file":"CHANGELOG.md","line":270,"lexical":0.39999999999999997,"target":false},{"text":"File: CHANGELOG.md\nLine 496: * New: `ConnectionListener` publishes events for connects, disconnects, and use of pooled","file":"CHANGELOG.md","line":496,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 465: the connection will be closed and the listener's `onFailure()` method will","file":"docs/changelogs/changelog_3x.md","line":465,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 1041: ) : Http2Connection.Listener() {","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":1041,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt\nLine 45: ) : Http2Connection.Listener() {","file":"mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt","line":45,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt\nLine 27: /** Data classes that correspond to each of the methods of [ConnectionListener]. */","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt","line":27,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 64: private val connectionListener = RecordingConnectionListener()","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":64,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 165: connectionListener.forbidLock(RealConnectionPool.get(client.connectionPool))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":165,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 166: connectionListener.forbidLock(client.dispatcher)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":166,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 181: connectionListener = connectionListener,","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":181,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 189: .connectionPool(ConnectionPool(connectionListener = connectionListener))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":189,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt\nLine 336: fun recordedConnectionEventTypes(): List = connectionListener.recordedEventTypes()","file":"okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt","line":336,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt\nLine 32: import okhttp3.internal.connection.ConnectionListener","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt","line":32,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt\nLine 37: internal open class RecordingConnectionListener(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt","line":37,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt\nLine 43: ) : ConnectionListener() {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt","line":43,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt\nLine 37: import okhttp3.internal.connection.ConnectionListener","file":"okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt","line":37,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt\nLine 107: connectionListener = ConnectionListener.NONE,","file":"okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt","line":107,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 602: HSPLokhttp3/EventListener;->connectionAcquired(Lokhttp3/Call;Lokhttp3/Connection;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":602,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 603: HSPLokhttp3/EventListener;->connectionReleased(Lokhttp3/Call;Lokhttp3/Connection;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":603,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 792: HSPLokhttp3/internal/connection/Exchange;->(Lokhttp3/internal/connection/RealCall;Lokhttp3/EventListener;Lokhttp3/internal/connection/ExchangeFinder;Lokhttp3/internal/http/ExchangeCodec;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":792,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 843: HSPLokhttp3/internal/connection/RouteSelector;->(Lokhttp3/Address;Lokhttp3/internal/connection/RouteDatabase;Lokhttp3/Call;ZLokhttp3/EventListener;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":843,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 893: HSPLokhttp3/internal/http2/Http2Connection$Listener$Companion$REFUSE_INCOMING_STREAMS$1;->()V","file":"okhttp/src/androidMain/baseline-prof.txt","line":893,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 894: HSPLokhttp3/internal/http2/Http2Connection$Listener;->()V","file":"okhttp/src/androidMain/baseline-prof.txt","line":894,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 895: HSPLokhttp3/internal/http2/Http2Connection$Listener;->()V","file":"okhttp/src/androidMain/baseline-prof.txt","line":895,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 1722: Lokhttp3/internal/http2/Http2Connection$Listener$Companion$REFUSE_INCOMING_STREAMS$1;","file":"okhttp/src/androidMain/baseline-prof.txt","line":1722,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 1723: Lokhttp3/internal/http2/Http2Connection$Listener;","file":"okhttp/src/androidMain/baseline-prof.txt","line":1723,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt\nLine 24: import okhttp3.internal.connection.ConnectionListener","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt","line":24,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt\nLine 45: connectionListener: ConnectionListener = ConnectionListener.NONE,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt","line":45,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt\nLine 52: connectionListener = connectionListener,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt","line":52,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt\nLine 56: // Internal until we promote ConnectionListener to be a public API.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt","line":56,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt\nLine 61: connectionListener: ConnectionListener = ConnectionListener.NONE,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt","line":61,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt\nLine 67: connectionListener = connectionListener,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt","line":67,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"查找设置分块传输编码并手动构建数据块的方法","query":"chunked body transfer","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt","symbol":"setChunkedBody","line":160,"lang":"zh","candidates":[{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt\nLine 284: private const val CHUNKED_BODY_HEADER = \"Transfer-encoding: chunked\"","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt","line":284,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 285: testRequestBodySurvivesRetries(TransferKind.CHUNKED)","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":285,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 1735: body = TransferKind.CHUNKED.newRequestBody(\"ABCDEFGHIJKLMNOPQ\"),","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":1735,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 3022: body = TransferKind.CHUNKED.newRequestBody(\"Hello\"),","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":3022,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 3120: .post(TransferKind.CHUNKED.newRequestBody(\"ABC\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":3120,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"HTTP/1.1 프로토콜 환경에서 응답 본문이 비어있을 때 트레일러가 어떻게 처리되는지 검증하는 테스트 케이스를 찾고 있어요. 관련 로직이 어떻게 구현되어 있는지 확인하고 싶습니다.","query":"trailers empty body","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","symbol":"trailersEmptyResponseBodyHttp1","line":105,"lang":"ko","candidates":[{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 1197: \"unsupported: no body and non-empty trailers $trailers\"","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":1197,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt\nLine 35: /** Returns true if the response body and (possibly empty) trailers have been received. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt","line":35,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 433: responseBodyComplete(trailers = Headers.EMPTY)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":433,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 455: responseBodyComplete(trailers = Headers.EMPTY)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":455,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 559: responseBodyComplete(trailers = Headers.EMPTY)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":559,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 106: fun trailersEmptyResponseBodyHttp1() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":106,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 107: trailersEmptyResponseBody(Protocol.HTTP_1_1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":107,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 111: fun trailersEmptyResponseBodyHttp2() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":111,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 112: trailersEmptyResponseBody(Protocol.HTTP_2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":112,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 115: private fun trailersEmptyResponseBody(protocol: Protocol) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":115,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"デリゲートしているサーバーソケットを作成して、設定を適用している箇所はどこ?","query":"delegate createServerSocket","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingServerSocketFactory.kt","symbol":"createServerSocket","line":30,"lang":"ja","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingServerSocketFactory.kt\nLine 32: val serverSocket = delegate.createServerSocket()","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingServerSocketFactory.kt","line":32,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingServerSocketFactory.kt\nLine 38: val serverSocket = delegate.createServerSocket(port)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingServerSocketFactory.kt","line":38,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingServerSocketFactory.kt\nLine 47: val serverSocket = delegate.createServerSocket(port, backlog)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingServerSocketFactory.kt","line":47,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingServerSocketFactory.kt\nLine 57: val serverSocket = delegate.createServerSocket(port, backlog, ifAddress)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/DelegatingServerSocketFactory.kt","line":57,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estoy revisando la lógica de validación de tiempos de espera para los tests. ¿Podrías mostrarme dónde se comprueba si un intervalo de tiempo es demasiado corto, demasiado largo o negativo?","query":"check duration timeout","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt","symbol":"testDurationDuration","line":76,"lang":"es","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1098: callTimeout = checkDuration(\"timeout\", timeout, unit)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1098,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1130: callTimeout = checkDuration(\"duration\", duration)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1130,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1144: connectTimeout = checkDuration(\"timeout\", timeout, unit)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1144,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1170: connectTimeout = checkDuration(\"duration\", duration)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1170,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1187: readTimeout = checkDuration(\"timeout\", timeout, unit)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1187,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1219: readTimeout = checkDuration(\"duration\", duration)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1219,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1235: writeTimeout = checkDuration(\"timeout\", timeout, unit)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1235,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1265: writeTimeout = checkDuration(\"duration\", duration)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1265,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1338: webSocketCloseTimeout = checkDuration(\"webSocketCloseTimeout\", timeout, unit)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1338,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 1366: webSocketCloseTimeout = checkDuration(\"duration\", duration)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":1366,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 180: return copy(connectTimeoutMillis = checkDuration(\"connectTimeout\", timeout.toLong(), unit))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":180,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 191: return copy(readTimeoutMillis = checkDuration(\"readTimeout\", timeout.toLong(), unit))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":191,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 202: return copy(writeTimeoutMillis = checkDuration(\"writeTimeout\", timeout.toLong(), unit))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":202,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt\nLine 52: assertThat(checkDuration(\"timeout\", 0, TimeUnit.MILLISECONDS)).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt","line":52,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt\nLine 53: assertThat(checkDuration(\"timeout\", 1, TimeUnit.MILLISECONDS)).isEqualTo(1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt","line":53,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt\nLine 57: checkDuration(\"timeout\", -1, TimeUnit.MILLISECONDS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt","line":57,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt\nLine 62: checkDuration(\"timeout\", 1, TimeUnit.NANOSECONDS)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt","line":62,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt\nLine 78: assertThat(checkDuration(\"timeout\", 0.milliseconds)).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt","line":78,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt\nLine 79: assertThat(checkDuration(\"timeout\", 1.milliseconds)).isEqualTo(1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt","line":79,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt\nLine 83: checkDuration(\"timeout\", (-1).milliseconds)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt","line":83,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt\nLine 88: checkDuration(\"timeout\", 1.nanoseconds)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt","line":88,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"O método que deve ser invocado quando uma conexão falha em ser estabelecida, recebendo a rota, a chamada e a exceção que causou o falha.","query":"connectFailed connection failure","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt","symbol":"connectFailed","line":42,"lang":"pt","candidates":[{"text":"File: docs/features/events.md\nLine 225: When an operation fails, a failure method is called. This is `connectFailed()` for failures while building a connection to the server, and `callFailed()` when the HTTP call fails permanently. When a failure happens it is possible that a `start` event won’…","file":"docs/features/events.md","line":225,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt\nLine 159: ConnectionEvent.ConnectFailed(System.nanoTime(), route, call, failure),","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt","line":159,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 340: connectionPool.connectionListener.connectFailed(route, call, failure)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":340,"lexical":0.55,"target":false}]} {"site":"project_search","repo":"okhttp","task":"¿Cómo puedo obtener el tamaño máximo permitido para el almacenamiento en bytes?","query":"cache max size","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","symbol":"maxSize","line":375,"lang":"es","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 154: /** Create a cache of at most [maxSize] bytes in [directory]. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":154,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 166: /** Create a cache of at most [maxSize] bytes in [directory]. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":166,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 374: /** Max size of the cache (in bytes). */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":374,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 375: fun maxSize(): Long = cache.maxSize","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":375,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/DnsCache.kt\nLine 66: * This cache retains [maxSize] entries. It prefers to evict expired entries, and when that is","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/DnsCache.kt","line":66,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt\nLine 33: ): Cache = Cache(fileSystem, file, maxSize)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt","line":33,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt\nLine 86: * @param maxSize the maximum number of bytes this cache should use to store.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt","line":86,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/MemoryCache.kt\nLine 24: * This cache is configured with a target [maxSize], but it will not evict entries until it","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/MemoryCache.kt","line":24,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/MemoryCache.kt\nLine 55: * this function grows the cache to double [maxSize].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/MemoryCache.kt","line":55,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt\nLine 70: get() = cache.maxSize","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/dns/RealDnsCache.kt","line":70,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 153: val maxSize: Long = cache.maxSize()","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":153,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 77: createNewCacheWithSize(Int.MAX_VALUE)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":77,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 80: private fun createNewCacheWithSize(maxSize: Int) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":80,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 82: DiskLruCache(filesystem, cacheDir, appVersion, 2, maxSize.toLong(), taskRunner).also {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":82,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 565: cache.maxSize = 20","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":565,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 577: cache.maxSize = 10","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":577,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 685: fun cacheSingleEntryOfSizeGreaterThanMaxSize() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":685,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 694: fun cacheSingleValueOfSizeGreaterThanMaxSize() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":694,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 962: cache.maxSize = 4","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":962,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1161: cache.maxSize = 8 // Smaller than the sum of active edits!","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1161,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1473: cache.maxSize = 8","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1473,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1493: cache.maxSize = 8","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1493,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1516: cache.maxSize = 8","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1516,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1539: cache.maxSize = 8","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1539,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1558: cache.maxSize = 8","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1558,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1581: cache.maxSize = 8","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1581,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1602: cache.maxSize = 8","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1602,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1623: cache.maxSize = 8","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1623,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt\nLine 1644: cache.maxSize = 8","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt","line":1644,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"タイムアウトの設定方法を示すサンプルコードの実行エントリーポイントはどこ?","query":"configure timeouts","file":"samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java","symbol":"main","line":45,"lang":"ja","candidates":[{"text":"File: docs/recipes.md\nLine 716: ### Timeouts ([.kt][ConfigureTimeoutsKotlin], [.java][ConfigureTimeoutsJava])","file":"docs/recipes.md","line":716,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 743: public ConfigureTimeouts() throws Exception {","file":"docs/recipes.md","line":743,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1176: [ConfigureTimeoutsJava]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java","file":"docs/recipes.md","line":1176,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1177: [ConfigureTimeoutsKotlin]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt","file":"docs/recipes.md","line":1177,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java\nLine 23: public final class ConfigureTimeouts {","file":"samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java","line":23,"lexical":0.6000000000000001,"target":true},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java\nLine 26: public ConfigureTimeouts() throws Exception {","file":"samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java","line":26,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java\nLine 46: new ConfigureTimeouts().run();","file":"samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java","line":46,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt\nLine 22: class ConfigureTimeouts {","file":"samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt","line":22,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt\nLine 46: ConfigureTimeouts().run()","file":"samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt","line":46,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"ASN.1のヘッダー解析ロジックを実装しています。すべてのヘッダーに対して常に真を返すような、条件判定をスキップするための実装箇所を探しています。","query":"matches true header","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","symbol":"matches","line":439,"lang":"ja","candidates":[{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt\nLine 289: override fun matches(header: DerHeader): Boolean = true","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","line":289,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt\nLine 400: override fun matches(header: DerHeader): Boolean = true","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","line":400,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt\nLine 439: override fun matches(header: DerHeader): Boolean = true","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","line":439,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt\nLine 491: override fun matches(header: DerHeader): Boolean = true","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","line":491,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"implement die methode die das interface schließt","query":"close ioexception","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","symbol":"close","line":1031,"lang":"de","candidates":[{"text":"File: docs/changelogs/changelog_3x.md\nLine 1095: * Fix: Don't throw `IOException` on `ResponseBody.contentLength()` or `close()`.","file":"docs/changelogs/changelog_3x.md","line":1095,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1137: @Override public void close() throws IOException {","file":"docs/recipes.md","line":1137,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt\nLine 113: if (javaNetSocket.isClosed) throw InterruptedIOException(\"socket closed\")","file":"mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt","line":113,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt\nLine 406: throw IOException(\"closed\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSocket.kt","line":406,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 909: HSPLokhttp3/internal/http2/Http2Connection;->close$okhttp(Lokhttp3/internal/http2/ErrorCode;Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":909,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 210: if (closed) throw IOException(\"Stream closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":210,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt\nLine 319: throw IOException(\"stream closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt","line":319,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 402: throw IOException(\"stream closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":402,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 700: sink.closed -> throw IOException(\"stream closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":700,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 61: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":61,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 75: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":75,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 109: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":109,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 130: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":130,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 141: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":141,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 173: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":173,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 202: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":202,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 229: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":229,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 257: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":257,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 284: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":284,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt\nLine 361: if (closed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt","line":361,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt\nLine 121: if (receivedCloseFrame) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt","line":121,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt\nLine 289: if (receivedCloseFrame) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt","line":289,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt\nLine 118: if (writerClosed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt","line":118,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt\nLine 158: if (writerClosed) throw IOException(\"closed\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt","line":158,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt\nLine 78: override fun close(): Unit = throw IOException(\"Broken!\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt","line":78,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 121: client.listener.assertFailure(IOException::class.java, \"source is closed\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":121,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 130: client.listener.assertFailure(IOException::class.java, \"source is closed\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":130,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 357: client.listener.assertFailure(IOException::class.java, \"source is closed\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":357,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 362: // So when the client sends close it throws an IOException.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":362,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 367: client.listener.assertFailure(IOException::class.java, \"source is closed\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":367,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java\nLine 127: Socket socket, String host, int port, boolean autoClose) throws IOException {","file":"samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java","line":127,"lexical":0.39999999999999997,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java\nLine 124: public void close() throws IOException {","file":"samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java","line":124,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"웹 플랫폼 테스트 데이터를 로드하는 클래스 찾아줘","query":"web platform toascii","file":"okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt","symbol":"WebPlatformToAsciiData","line":27,"lang":"ko","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt\nLine 23: * A test from the [Web Platform To ASCII](https://github.com/web-platform-tests/wpt/blob/master/url/resources/toascii.json).","file":"okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt","line":23,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt\nLine 28: class WebPlatformToAsciiData {","file":"okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt","line":28,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt\nLine 36: fun load(): List {","file":"okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt","line":36,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt\nLine 37: val path = okHttpRoot / \"okhttp/src/jvmTest/resources/web-platform-test-toascii.json\"","file":"okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt","line":37,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt\nLine 39: Json.decodeFromString>(readUtf8())","file":"okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt","line":39,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt\nLine 23: /** Runs the web platform ToAscii tests. */","file":"okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt","line":23,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt\nLine 24: class WebPlatformToAsciiTest {","file":"okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt","line":24,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt\nLine 57: val list = WebPlatformToAsciiData.load()","file":"okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt","line":57,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estou revisando os testes de segurança de rede e preciso encontrar a classe que valida o aperto de mão SSL e as suites de cifras. Onde estão as definições de testes que comparam as cifras habilitadas no socket com as padrões do SSL?","query":"handshake cipher suites","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","symbol":"CallHandshakeTest","line":43,"lang":"pt","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 60: private lateinit var handshakeEnabledCipherSuites: List","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":60,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 87: handshakeCertificates.sslSocketFactory().defaultCipherSuites.toList()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":87,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 89: handshakeCertificates.sslSocketFactory().supportedCipherSuites.toList()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":89,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 102: assertThat(handshake.cipherSuite).isIn(*expectedModernTls12CipherSuites.toTypedArray())","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":102,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 111: assertThat(handshakeEnabledCipherSuites).containsExactly(","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":111,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 127: assertThat(handshake.cipherSuite).isIn(*expectedModernTls12CipherSuites.toTypedArray())","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":127,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 142: assertThat(handshakeEnabledCipherSuites).containsExactly(","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":142,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 157: assertThat(handshake.cipherSuite).isIn(*expectedModernTls13CipherSuites.toTypedArray())","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":157,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 173: assertThat(handshakeEnabledCipherSuites).containsExactly(","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":173,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 198: assertThat(handshakeEnabledCipherSuites).containsExactly(","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":198,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 216: handshakeEnabledCipherSuites.sortedBy { ConnectionSpec.MODERN_TLS.cipherSuitesAsString!!.indexOf(it) }","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":216,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 218: assertThat(handshakeEnabledCipherSuites).containsExactly(","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":218,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 310: handshakeEnabledCipherSuites = socket.enabledCipherSuites.toList()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":310,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1395: val supportedCiphers = listOf(*handshakeCertificates.sslSocketFactory().supportedCipherSuites)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1395,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Relatar que o evento disparado no momento em que uma requisição é colocada na fila ou iniciada pelo cliente pode ocorrer muito antes do processamento real começar, caso existam limites de threads ou de streams ativos.","query":"call start event","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","symbol":"callStart","line":71,"lang":"pt","candidates":[{"text":"File: CHANGELOG.md\nLine 174: * New: Publish events when calls must wait to execute. `EventListener.dispatcherQueueStart()`","file":"CHANGELOG.md","line":174,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 53: import okhttp3.CallEvent.CallStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":53,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 56: import okhttp3.CallEvent.ConnectStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":56,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 60: import okhttp3.CallEvent.DnsStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":60,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 63: import okhttp3.CallEvent.ProxySelectStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":63,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 65: import okhttp3.CallEvent.RequestHeadersStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":65,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 67: import okhttp3.CallEvent.ResponseBodyStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":67,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 69: import okhttp3.CallEvent.ResponseHeadersStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":69,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 71: import okhttp3.CallEvent.SecureConnectStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":71,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 384: * Fix: Don't call `EventListener.responseHeadersStart()` or `responseBodyStart()` until bytes have","file":"docs/changelogs/changelog_4x.md","line":384,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/events.md\nLine 31: printEvent(\"callStart\");","file":"docs/features/events.md","line":31,"lexical":0.65,"target":false},{"text":"File: docs/features/events.md\nLine 107: In the preceding example we used a field, `callStartNanos`, to track the elapsed time of each event. This is handy, but it won’t work if multiple calls are executing concurrently. To accommodate this, use a `Factory` to create a new `EventListener` insta…","file":"docs/features/events.md","line":107,"lexical":0.65,"target":false},{"text":"File: docs/features/events.md\nLine 126: public PrintingEventListener(long callId, long callStartNanos) {","file":"docs/features/events.md","line":126,"lexical":0.65,"target":false},{"text":"File: docs/features/events.md\nLine 137: printEvent(\"callStart\");","file":"docs/features/events.md","line":137,"lexical":0.65,"target":false},{"text":"File: docs/features/events.md\nLine 225: When an operation fails, a failure method is called. This is `connectFailed()` for failures while building a connection to the server, and `callFailed()` when the HTTP call fails permanently. When a failure happens it is possible that a `start` event won’…","file":"docs/features/events.md","line":225,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 26: import okhttp3.CallEvent.CallStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":26,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 28: import okhttp3.CallEvent.ConnectStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":28,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 32: import okhttp3.CallEvent.DnsStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":32,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 35: import okhttp3.CallEvent.ProxySelectStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":35,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 37: import okhttp3.CallEvent.RequestHeadersStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":37,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 39: import okhttp3.CallEvent.ResponseBodyStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":39,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 41: import okhttp3.CallEvent.ResponseHeadersStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":41,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 48: override fun closes(event: CallEvent): Boolean = event is DispatcherQueueStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":48,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 63: override fun closes(event: CallEvent): Boolean = event is ProxySelectStart && call == event.call && url == event.url","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":63,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 78: override fun closes(event: CallEvent): Boolean = event is DnsStart && call == event.call && domainName == event.domainName","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":78,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 96: event is ConnectStart && call == event.call && inetSocketAddress == event.inetSocketAddress && proxy == event.proxy","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":96,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 108: event is ConnectStart && call == event.call && inetSocketAddress == event.inetSocketAddress && proxy == event.proxy","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":108,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 121: override fun closes(event: CallEvent): Boolean = event is SecureConnectStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":121,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 147: override fun closes(event: CallEvent): Boolean = event is CallStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":147,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 155: override fun closes(event: CallEvent): Boolean = event is CallStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":155,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 173: override fun closes(event: CallEvent): Boolean = event is RequestHeadersStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":173,"lexical":0.65,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 186: override fun closes(event: CallEvent): Boolean = event is RequestBodyStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":186,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"如何模拟在上传请求体过程中服务器主动断开的情况?","query":"disconnect request halfway","file":"mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt","symbol":"disconnectRequestHalfway","line":408,"lang":"zh","candidates":[{"text":"File: mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt\nLine 353: fun disconnectRequestHalfway() {","file":"mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt","line":353,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt\nLine 409: fun disconnectRequestHalfway() {","file":"mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt","line":409,"lexical":0.44999999999999996,"target":true}]} {"site":"project_search","repo":"okhttp","task":"find the interface that handles encoding requests and decoding responses via a socket","query":"encode decode request","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt","symbol":"ExchangeCodec","line":30,"lang":"en","candidates":[{"text":"File: okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt\nLine 19: * Representation of one story, a set of request headers to encode or decode. This class is used","file":"okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt","line":19,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt\nLine 29: /** Encodes HTTP requests and decodes HTTP responses. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt","line":29,"lexical":0.44999999999999996,"target":true}]} {"site":"project_search","repo":"okhttp","task":"converte o corpo da resposta para maiúsculas","query":"uppercase response body","file":"okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt","symbol":"uppercaseResponse","line":30,"lang":"pt","candidates":[{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt\nLine 25: /** Rewrites the response body returned from the server to be all uppercase. */","file":"okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt","line":25,"lexical":0.65,"target":true},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt\nLine 31: val uppercaseBody: ResponseBody =","file":"okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt","line":31,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt\nLine 361: .body(uppercase(originalResponse.body))","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt","line":361,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt\nLine 946: fun uppercase(original: ResponseBody): ResponseBody =","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt","line":946,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"setze die verteilungsplattform auf linux-amd64","query":"distribution platform","file":"maven-tests/mvnw","symbol":"distributionPlatform","line":124,"lang":"de","candidates":[{"text":"File: maven-tests/mvnw\nLine 121: *AMD64:CYGWIN* | *AMD64:MINGW*) distributionPlatform=windows-amd64 ;;","file":"maven-tests/mvnw","line":121,"lexical":0.39999999999999997,"target":true},{"text":"File: maven-tests/mvnw\nLine 122: :Darwin*x86_64) distributionPlatform=darwin-amd64 ;;","file":"maven-tests/mvnw","line":122,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 123: :Darwin*arm64) distributionPlatform=darwin-aarch64 ;;","file":"maven-tests/mvnw","line":123,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 124: :Linux*x86_64*) distributionPlatform=linux-amd64 ;;","file":"maven-tests/mvnw","line":124,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 127: distributionPlatform=linux-amd64","file":"maven-tests/mvnw","line":127,"lexical":0.39999999999999997,"target":false},{"text":"File: maven-tests/mvnw\nLine 130: distributionUrl=\"${distributionUrl%-bin.*}-$distributionPlatform.zip\"","file":"maven-tests/mvnw","line":130,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Investigate why the status check for a connection attempt returns true even when an exception is present, as the logic should only indicate success when there is no pending retry plan and no error occurred.","query":"connection attempt success","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt","symbol":"ConnectResult","line":110,"lang":"en","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt\nLine 139: // In the process we made one successful connection attempt.","file":"okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt","line":139,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt\nLine 163: // In the process we made one successful connection attempt.","file":"okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt","line":163,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt\nLine 179: // In the process we made one successful connection attempt.","file":"okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt","line":179,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt\nLine 212: // In the process we made two unsuccessful connection attempts.","file":"okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt","line":212,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"find the implementation of the base case for the linked tag chain","query":"empty tags","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt","symbol":"EmptyTags","line":46,"lang":"en","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 22: import okhttp3.internal.EmptyTags","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":22,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 190: if (tags != EmptyTags) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":190,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 203: internal var tags: Tags = EmptyTags","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":203,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt\nLine 24: * Build up a collection by starting with [EmptyTags] and repeatedly calling [plus]. Each such call","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt","line":24,"lexical":0.6000000000000001,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt\nLine 45: /** An empty tags. This is always the tail of a [LinkedTags] chain. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt","line":45,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt\nLine 46: internal object EmptyTags : Tags() {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt","line":46,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 30: import okhttp3.internal.EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":30,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 50: assertThat(request.tags).isEqualTo(EmptyTags)","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":50,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 66: assertThat(request.tags).isEqualTo(EmptyTags)","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":66,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 84: assertThat(request.tags).isEqualTo(EmptyTags)","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":84,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt\nLine 102: assertThat(request.tags).isEqualTo(EmptyTags)","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt","line":102,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 36: import okhttp3.internal.EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":36,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 63: assertThat(request.tags).isEqualTo(EmptyTags)","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":63,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 79: assertThat(request.tags).isEqualTo(EmptyTags)","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":79,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 97: assertThat(request.tags).isEqualTo(EmptyTags)","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":97,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt\nLine 115: assertThat(request.tags).isEqualTo(EmptyTags)","file":"okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt","line":115,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 26: fun emptyTags() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":26,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 27: val tags = EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":27,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 33: val tags = EmptyTags.plus(String::class, \"hello\")","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":33,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 40: EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":40,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 51: EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":51,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 65: EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":65,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 79: EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":79,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 93: EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":93,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 107: EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":107,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 121: EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":121,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 134: EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":134,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 141: assertThat(tags).isEqualTo(EmptyTags)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":141,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 147: val tags = EmptyTags.plus(String::class, null)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":147,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 148: assertThat(tags).isEqualTo(EmptyTags)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":148,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 155: EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":155,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt\nLine 164: val tags = EmptyTags","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt","line":164,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"연결 실패했을 때 이벤트 출력하는 부분 어디 있어?","query":"connectFailed printEvent","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java","symbol":"connectFailed","line":114,"lang":"ko","candidates":[{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java\nLine 141: printEvent(\"connectFailed\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","line":141,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java\nLine 116: printEvent(\"connectFailed\");","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java","line":116,"lexical":0.6000000000000001,"target":true}]} {"site":"project_search","repo":"okhttp","task":"ウェブソケットでテストケースを実行する処理を探して","query":"web socket test","file":"okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt","symbol":"runTest","line":57,"lang":"ja","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 1380: public fun onMessage (Lokhttp3/WebSocket;Lokio/ByteString;)V","file":"okhttp/api/android/okhttp.api","line":1380,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1379: public fun onMessage (Lokhttp3/WebSocket;Lokio/ByteString;)V","file":"okhttp/api/jvm/okhttp.api","line":1379,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 379: /** For testing: force this web socket to release its threads. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":379,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt\nLine 77: @Test fun webSocketDefaults() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt","line":77,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt\nLine 452: @Test fun minWebSocketMessageToCompressNegative() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt","line":452,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt\nLine 132: * Test for an [EOFException] caused by mishandling of fragmented buffers in web socket","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt","line":132,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 55: class RealWebSocketTest {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":55,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 57: // zero effect on the behavior of the WebSocket API which is why tests are only written once","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":57,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt\nLine 465: /** One peer's streams, listener, and web socket in the test. */","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt","line":465,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt\nLine 23: class WebSocketExtensionsTest {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt","line":23,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 80: class WebSocketHttpTest {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":80,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt\nLine 37: class WebSocketReaderTest {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt","line":37,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt\nLine 39: class WebSocketWriterTest {","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt","line":39,"lexical":0.65,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java\nLine 29: webSocket.send(ByteString.decodeHex(\"deadbeef\"));","file":"samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java","line":29,"lexical":0.65,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java\nLine 37: @Override public void onMessage(WebSocket webSocket, ByteString bytes) {","file":"samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java","line":37,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"schreibe eine funktion die sicherstellt dass antworten nur aus dem zwischenspeicher kommen ansonsten einen 504 fehler wirft","query":"only if cached","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","symbol":"onlyIfCached","line":175,"lang":"de","candidates":[{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 79: noCache, noStore, noTransform, onlyIfCached, sMaxAgeSeconds","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":79,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 83: public final fun -deprecated_onlyIfCached ()Z","file":"okhttp/api/android/okhttp.api","line":83,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 95: public final fun onlyIfCached ()Z","file":"okhttp/api/android/okhttp.api","line":95,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 114: public final fun onlyIfCached ()Lokhttp3/CacheControl$Builder;","file":"okhttp/api/android/okhttp.api","line":114,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 83: public final fun -deprecated_onlyIfCached ()Z","file":"okhttp/api/jvm/okhttp.api","line":83,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 95: public final fun onlyIfCached ()Z","file":"okhttp/api/jvm/okhttp.api","line":95,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 114: public final fun onlyIfCached ()Lokhttp3/CacheControl$Builder;","file":"okhttp/api/jvm/okhttp.api","line":114,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 94: * If it is only necessary to force a cached response to be validated by the server, use the more","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":94,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 110: * downloaded. To restrict a request to locally-cached resources, add the `only-if-cached`","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":110,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 116: * .onlyIfCached()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":116,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt\nLine 28: import okhttp3.internal.commonOnlyIfCached","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","line":28,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt\nLine 62: * This field's name \"only-if-cached\" is misleading. It actually means \"do not use the network\".","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","line":62,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt\nLine 67: @get:JvmName(\"onlyIfCached\") val onlyIfCached: Boolean,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","line":67,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt\nLine 128: @JvmName(\"-deprecated_onlyIfCached\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","line":128,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt\nLine 131: replaceWith = ReplaceWith(expression = \"onlyIfCached\"),","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","line":131,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt\nLine 134: fun onlyIfCached(): Boolean = onlyIfCached","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","line":134,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt\nLine 161: internal var onlyIfCached: Boolean = false","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","line":161,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt\nLine 172: * Only accept the response if it is in the cache. If the response isn't cached, a `504","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","line":172,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt\nLine 175: fun onlyIfCached() = commonOnlyIfCached()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","line":175,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt\nLine 271: * Cache control request directives that uses the cache only, even if the cached response is","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt","line":271,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt\nLine 38: if (onlyIfCached) append(\"only-if-cached, \")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt","line":38,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt\nLine 64: .onlyIfCached()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt","line":64,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt\nLine 79: onlyIfCached = onlyIfCached,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt","line":79,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt\nLine 95: internal fun CacheControl.Builder.commonOnlyIfCached() =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt","line":95,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt\nLine 97: this.onlyIfCached = true","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt","line":97,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt\nLine 120: var onlyIfCached = false","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt","line":120,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt\nLine 217: \"only-if-cached\".equals(directive, ignoreCase = true) -> {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt","line":217,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt\nLine 218: onlyIfCached = true","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt","line":218,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt\nLine 246: onlyIfCached = onlyIfCached,","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt","line":246,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 70: .message(\"Unsatisfiable Request (only-if-cached)\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":70,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt\nLine 135: if (candidate.networkRequest != null && request.cacheControl.onlyIfCached) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt","line":135,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt\nLine 41: .onlyIfCached()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt","line":41,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"suche funktion zum abrufen eines headerwerts mit fallback","query":"header default value","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","symbol":"header","line":169,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 173: ): String? = headers[name] ?: defaultValue","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":173,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt\nLine 89: fun getMaxHeaderListSize(defaultValue: Int): Int {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt","line":89,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt\nLine 91: return if (bit and set != 0) values[MAX_HEADER_LIST_SIZE] else defaultValue","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt","line":91,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"如何获取响应体的内容长度?","query":"response body length","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","symbol":"contentLength","line":276,"lang":"zh","candidates":[{"text":"File: docs/changelogs/changelog_3x.md\nLine 1095: * Fix: Don't throw `IOException` on `ResponseBody.contentLength()` or `close()`.","file":"docs/changelogs/changelog_3x.md","line":1095,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 406: consistent with the length of the response body.","file":"docs/changelogs/changelog_4x.md","line":406,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/calls.md\nLine 23: If transparent compression was used, OkHttp will drop the corresponding response headers `Content-Encoding` and `Content-Length` because they don’t apply to the decompressed response body.","file":"docs/features/calls.md","line":23,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt\nLine 188: if (body.contentLength() > MAX_RESPONSE_SIZE) {","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt","line":188,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt\nLine 190: \"response size exceeds limit ($MAX_RESPONSE_SIZE bytes): ${body.contentLength()} bytes\",","file":"okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/internal/-DnsOverHttpsQuery.kt","line":190,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt\nLine 264: val contentLength = responseBody.contentLength()","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt","line":264,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 698: .body(CacheResponseBody(snapshot, contentType, contentLength))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":698,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 77: * It is safe and supported to call [ResponseBody.contentType] and [ResponseBody.contentLength] on","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":77,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 331: expression = \"content.asResponseBody(contentType, contentLength)\",","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":331,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 340: ): ResponseBody = content.asResponseBody(contentType, contentLength)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":340,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt\nLine 61: .body(UnreadableResponseBody(body.contentType(), body.contentLength()))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt","line":61,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 231: val contentLength = response.body.contentLength()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":231,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt\nLine 234: .body(RealResponseBody(contentType, contentLength, cacheWritingSource.buffer()))","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt","line":234,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 143: return RealResponseBody(contentType, contentLength, source.buffer())","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":143,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 147: response.body.contentLength(),","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":147,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 179: if ((code == 204 || code == 205) && response.body.contentLength() > 0L) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":179,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 181: \"HTTP $code had non-zero Content-Length: ${response.body.contentLength()}\",","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":181,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 55: * 5. Open a source to read the response body. Either [fixed-length][newFixedLengthSource],","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":55,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 309: val body = newFixedLengthSource(response.request.url, contentLength)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":309,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt\nLine 115: fun connectionsAreNotReusedWithUnknownLengthResponseBody() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt","line":115,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt\nLine 79: assertThat(response.body.contentLength()).isEqualTo(0L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt","line":79,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 627: assertThat(source.readUtf8(halfResponseBody.length.toLong())).isEqualTo(halfResponseBody)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":627,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 1490: assertThat(response.body.contentLength()).isEqualTo(-1L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":1490,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 1515: assertThat(response.body.contentLength()).isEqualTo(bodyBytes.size)","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":1515,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt\nLine 3395: assertThat(response.body.contentLength()).isEqualTo(3L)","file":"okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt","line":3395,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 202: assertThat(response.body.contentLength()).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":202,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 232: assertThat(response.body.contentLength()).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":232,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 436: assertThat(response1.body.contentLength()).isEqualTo(","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":436,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/Progress.java\nLine 98: return responseBody.contentLength();","file":"samples/guide/src/main/java/okhttp3/recipes/Progress.java","line":98,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/Progress.java\nLine 116: progressListener.update(totalBytesRead, responseBody.contentLength(), bytesRead == -1);","file":"samples/guide/src/main/java/okhttp3/recipes/Progress.java","line":116,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"액세스 헤더 예제 실행하기","query":"AccessHeaders main","file":"samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt","symbol":"main","line":45,"lang":"ko","candidates":[{"text":"File: docs/recipes.md\nLine 1158: [AccessHeadersJava]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java","file":"docs/recipes.md","line":1158,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1159: [AccessHeadersKotlin]: https://github.com/lysine-dev/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt","file":"docs/recipes.md","line":1159,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"呼び出しの応答ヘッダーの読取り開始時にログを記録するようにします。","query":"responseHeadersStart","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","symbol":"responseHeadersStart","line":177,"lang":"ja","candidates":[{"text":"File: android-test/src/androidTest/README.md\nLine 29: 01-01 12:53:32.816 10999 11090 D OkHttp : [54 ms] responseHeadersStart","file":"android-test/src/androidTest/README.md","line":29,"lexical":0.35,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 69: import okhttp3.CallEvent.ResponseHeadersStart","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":69,"lexical":0.35,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 642: ResponseHeadersStart::class,","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":642,"lexical":0.35,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 665: ResponseHeadersStart::class,","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":665,"lexical":0.35,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 116: permitted. For example, a listener may receive `responseHeadersStart()` followed by","file":"docs/changelogs/changelog_3x.md","line":116,"lexical":0.35,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 384: * Fix: Don't call `EventListener.responseHeadersStart()` or `responseBodyStart()` until bytes have","file":"docs/changelogs/changelog_4x.md","line":384,"lexical":0.35,"target":false},{"text":"File: docs/features/events.md\nLine 84: 0.591 responseHeadersStart","file":"docs/features/events.md","line":84,"lexical":0.35,"target":false},{"text":"File: docs/features/events.md\nLine 95: 0.002 responseHeadersStart","file":"docs/features/events.md","line":95,"lexical":0.35,"target":false},{"text":"File: docs/features/events.md\nLine 191: 0002 0.412 responseHeadersStart","file":"docs/features/events.md","line":191,"lexical":0.35,"target":false},{"text":"File: docs/features/events.md\nLine 192: 0001 0.415 responseHeadersStart","file":"docs/features/events.md","line":192,"lexical":0.35,"target":false},{"text":"File: okhttp-logging-interceptor/api/logging-interceptor.api\nLine 67: public fun responseHeadersStart (Lokhttp3/Call;)V","file":"okhttp-logging-interceptor/api/logging-interceptor.api","line":67,"lexical":0.35,"target":false},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 177: override fun responseHeadersStart(call: Call) {","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":177,"lexical":0.35,"target":true},{"text":"File: okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt\nLine 178: logWithTime(\"responseHeadersStart\")","file":"okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt","line":178,"lexical":0.35,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 102: .assertLogMatch(Regex(\"\"\"responseHeadersStart\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":102,"lexical":0.35,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 132: .assertLogMatch(Regex(\"\"\"responseHeadersStart\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":132,"lexical":0.35,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt\nLine 168: .assertLogMatch(Regex(\"\"\"responseHeadersStart\"\"\"))","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt","line":168,"lexical":0.35,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 41: import okhttp3.CallEvent.ResponseHeadersStart","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":41,"lexical":0.35,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 270: ResponseHeadersStart::class,","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":270,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 197: data class ResponseHeadersStart(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":197,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 207: override fun closes(event: CallEvent): Boolean = event is ResponseHeadersStart && call == event.call","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":207,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 163: override fun responseHeadersStart(call: Call) {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":163,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 164: logWithTime(\"responseHeadersStart\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":164,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 50: import okhttp3.CallEvent.ResponseHeadersStart","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":50,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 187: override fun responseHeadersStart(call: Call) =","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":187,"lexical":0.35,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 189: ResponseHeadersStart(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":189,"lexical":0.35,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 588: public fun responseHeadersStart (Lokhttp3/Call;)V","file":"okhttp/api/android/okhttp.api","line":588,"lexical":0.35,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 588: public fun responseHeadersStart (Lokhttp3/Call;)V","file":"okhttp/api/jvm/okhttp.api","line":588,"lexical":0.35,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 615: HSPLokhttp3/EventListener;->responseHeadersStart(Lokhttp3/Call;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":615,"lexical":0.35,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 798: HSPLokhttp3/internal/connection/Exchange;->responseHeadersStart()V","file":"okhttp/src/androidMain/baseline-prof.txt","line":798,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 46: * * headers ([responseHeadersStart], [responseHeadersEnd])","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":46,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 329: open fun responseHeadersStart(call: Call) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":329,"lexical":0.35,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 335: * This method is always invoked after [responseHeadersStart].","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":335,"lexical":0.35,"target":false}]} {"site":"project_search","repo":"okhttp","task":"como fechar o socket de forma segura sem lançar exceções?","query":"close socket quietly","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","symbol":"closeQuietly","line":619,"lang":"pt","candidates":[{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 357: serverSocket?.closeQuietly()","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":357,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 361: openClientSocket.next().closeQuietly()","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":361,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 409: serverSocket.closeQuietly()","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":409,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt\nLine 68: socket?.closeQuietly()","file":"mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt","line":68,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt\nLine 71: socket?.closeQuietly()","file":"mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt","line":71,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt\nLine 55: serverSocket?.closeQuietly()","file":"okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt","line":55,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 725: HSPLokhttp3/internal/_UtilJvmKt;->closeQuietly(Ljava/net/Socket;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":725,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt\nLine 285: internal fun Socket.closeQuietly() {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt","line":285,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt\nLine 302: internal fun ServerSocket.closeQuietly() {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt","line":302,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 162: rawSocket?.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":162,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 260: javaNetSocket?.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":260,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 261: rawSocket.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":261,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 318: rawSocket?.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":318,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 423: sslSocket.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":423,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 595: rawSocket?.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":595,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 620: javaNetSocket?.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":620,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 296: rawSocket.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":296,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt\nLine 175: socketToClose.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt","line":175,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt\nLine 261: toEvict.socket().closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt","line":261,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 181: response.socket?.sink?.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":181,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt\nLine 182: response.socket?.source?.closeQuietly()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt","line":182,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4796: connection.socket().closeQuietly()","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4796,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt\nLine 71: socket.closeQuietly()","file":"okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt","line":71,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt\nLine 163: socket?.closeQuietly()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt","line":163,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt\nLine 164: serverSocket?.closeQuietly()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt","line":164,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"localize as definições de provedores de dns sobre https","query":"dns over https","file":"okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt","symbol":"DohProviders","line":28,"lang":"pt","candidates":[{"text":"File: CHANGELOG.md\nLine 22: To opt in, you can use `DnsOverHttps`:","file":"CHANGELOG.md","line":22,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 25: // DnsOverHttps itself uses OkHttpClient. Build both clients upon the","file":"CHANGELOG.md","line":25,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 29: // This sample uses Cloudflare's 1.1.1.1 DnsOverHttps service.","file":"CHANGELOG.md","line":29,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 31: .dns(DnsOverHttps.Builder()","file":"CHANGELOG.md","line":31,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 778: * New: DNS over HTTPS is now a stable feature of OkHttp. We introduced this as an experimental","file":"CHANGELOG.md","line":778,"lexical":0.44999999999999996,"target":false},{"text":"File: README.md\nLine 237: - okhttp3.dnsoverhttps","file":"README.md","line":237,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/build.gradle.kts\nLine 33: \"../okhttp-dnsoverhttps/src/test/java\",","file":"android-test/build.gradle.kts","line":33,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/build.gradle.kts\nLine 81: \"friendsImplementation\"(projects.okhttpDnsoverhttps)","file":"android-test/build.gradle.kts","line":81,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/build.gradle.kts\nLine 113: androidTestImplementation(projects.okhttpDnsoverhttps)","file":"android-test/build.gradle.kts","line":113,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 37: import okhttp3.dnsoverhttps.DnsOverHttps","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":37,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 46: * Test with both [AndroidDns] and [DnsOverHttps].","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":46,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt\nLine 192: override fun create(client: OkHttpClient) = DnsOverHttps.Builder()","file":"android-test/src/androidTest/java/okhttp/android/test/EchRemoteTest.kt","line":192,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 86: import okhttp3.dnsoverhttps.DnsOverHttps","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":86,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 743: fun testDnsOverHttps() {","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":743,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 1110: fun buildCloudflareIp(bootstrapClient: OkHttpClient): DnsOverHttps =","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":1110,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 1111: DnsOverHttps","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":1111,"lexical":0.44999999999999996,"target":false},{"text":"File: build-logic/src/main/kotlin/okhttp.dokka-multimodule-conventions.gradle.kts\nLine 9: add(\"dokka\", project(\":okhttp-dnsoverhttps\"))","file":"build-logic/src/main/kotlin/okhttp.dokka-multimodule-conventions.gradle.kts","line":9,"lexical":0.44999999999999996,"target":false},{"text":"File: build-logic/src/main/kotlin/okhttp.publish-conventions.gradle.kts\nLine 70: ignoredPackages += \"okhttp3.dnsoverhttps.internal\"","file":"build-logic/src/main/kotlin/okhttp.publish-conventions.gradle.kts","line":70,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 416: * New: `okhttp-dnsoverhttps` is an experimental API for doing DNS queries over HTTPS. Using HTTPS","file":"docs/changelogs/changelog_3x.md","line":416,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 39: * Fix: Use literal IP addresses directly rather than passing them to `DnsOverHttps`.","file":"docs/changelogs/changelog_4x.md","line":39,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 272: * Fix: don't return stale DNS entries in `DnsOverHttps`. We were caching DNS results indefinitely","file":"docs/changelogs/changelog_4x.md","line":272,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/connections.md\nLine 27: …a webserver. This is the specific IP address to attempt (as discovered by a DNS query), the exact proxy server to use (if a [ProxySelector](https://developer.android.com/reference/java/net/ProxySelector.html) is in use), and which version of TLS to negotia…","file":"docs/features/connections.md","line":27,"lexical":0.44999999999999996,"target":false},{"text":"File: native-image-tests/build.gradle.kts\nLine 29: // \"../okhttp-dnsoverhttps/src/test/java\",","file":"native-image-tests/build.gradle.kts","line":29,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-dnsoverhttps/README.md\nLine 1: OkHttp DNS over HTTPS Implementation","file":"okhttp-dnsoverhttps/README.md","line":1,"lexical":0.55,"target":false},{"text":"File: okhttp-dnsoverhttps/README.md\nLine 4: This module is an implementation of [DNS over HTTPS][1] using OkHttp.","file":"okhttp-dnsoverhttps/README.md","line":4,"lexical":0.55,"target":false},{"text":"File: okhttp-dnsoverhttps/README.md\nLine 9: testImplementation(\"com.squareup.okhttp3:okhttp-dnsoverhttps:5.5.0\")","file":"okhttp-dnsoverhttps/README.md","line":9,"lexical":0.55,"target":false},{"text":"File: okhttp-dnsoverhttps/README.md\nLine 18: val dns = DnsOverHttps.Builder().client(bootstrapClient)","file":"okhttp-dnsoverhttps/README.md","line":18,"lexical":0.55,"target":false},{"text":"File: okhttp-dnsoverhttps/README.md\nLine 27: [1]: https://en.wikipedia.org/wiki/DNS_over_HTTPS","file":"okhttp-dnsoverhttps/README.md","line":27,"lexical":0.55,"target":false},{"text":"File: okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api\nLine 1: public final class okhttp3/dnsoverhttps/DnsOverHttps : okhttp3/Dns {","file":"okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api","line":1,"lexical":0.65,"target":false},{"text":"File: okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api\nLine 2: public static final field Companion Lokhttp3/dnsoverhttps/DnsOverHttps$Companion;","file":"okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api","line":2,"lexical":0.65,"target":false},{"text":"File: okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api\nLine 16: public final class okhttp3/dnsoverhttps/DnsOverHttps$Builder {","file":"okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api","line":16,"lexical":0.65,"target":false},{"text":"File: okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api\nLine 18: public final fun bootstrapDnsHosts (Ljava/util/List;)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder;","file":"okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api","line":18,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"affiche le nom d'hôte et l'adresse ip","query":"hostname hostAddress","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt","symbol":"toString","line":172,"lang":"fr","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt\nLine 172: override fun toString() = \"$hostname/${address.hostAddress}\"","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt","line":172,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt\nLine 115: val socketHostname = socketAddress.address?.hostAddress?.toCanonicalHost()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt","line":115,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt\nLine 444: .host(InetAddress.getByName(server.hostName).hostAddress)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt","line":444,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"como verifico se não há mais mensagens de log pendentes nos testes?","query":"assert no more logs","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","symbol":"assertNoMoreLogs","line":1181,"lang":"pt","candidates":[{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 117: applicationLogs.assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":117,"lexical":0.5,"target":true},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 118: networkLogs.assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":118,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 129: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":129,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 133: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":133,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 144: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":144,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 148: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":148,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 166: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":166,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 170: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":170,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 188: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":188,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 192: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":192,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 207: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":207,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 218: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":218,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 236: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":236,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 249: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":249,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 266: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":266,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 278: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":278,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 302: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":302,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 315: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":315,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 347: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":347,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 360: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":360,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 382: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":382,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 394: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":394,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 409: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":409,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 420: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":420,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 450: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":450,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 461: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":461,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 481: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":481,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 496: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":496,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 520: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":520,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 534: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":534,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 558: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":558,"lexical":0.5,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 572: .assertNoMoreLogs()","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":572,"lexical":0.5,"target":false}]} {"site":"project_search","repo":"okhttp","task":"convertir les en-têtes en une map de listes sans tenir compte de la casse","query":"headers multimap","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt","symbol":"toMultimap","line":191,"lang":"fr","candidates":[{"text":"File: docs/changelogs/changelog_2x.md\nLine 252: * New: `Headers.toMultimap()`.","file":"docs/changelogs/changelog_2x.md","line":252,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 806: * Fix: Use `TreeMap` in `Headers.toMultimap()`. This makes string lookups on","file":"docs/changelogs/changelog_3x.md","line":806,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 123: Typically HTTP headers work like a `Map`: each field has one value or none. But some headers permit multiple values, like Guava's [Multimap](https://guava.dev/releases/23.0/api/docs/com/google/common/collect/Multimap.html). For example, it'…","file":"docs/recipes.md","line":123,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt\nLine 158: @Test fun toMultimapGroupsHeaders() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt","line":158,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt\nLine 168: val headerMap = headers.toMultimap()","file":"okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt","line":168,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt\nLine 183: val headerMap = headers.toMultimap()","file":"okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt","line":183,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt\nLine 196: val headerMap = headers.toMultimap()","file":"okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt","line":196,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 587: val multimap: Map> = headers.toMultimap()","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":587,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Se detectó un posible problema al intentar instanciar un gestor de conexiones con valores de capacidad y tiempo de vida en cero, lo que podría afectar el conteo de conexiones inactivas o el comportamiento de la limpieza de recursos.","query":"connection pool zero","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","symbol":"connectionPool","line":298,"lang":"es","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt\nLine 130: fun connectionsAreNotReusedIfPoolIsSizeZero() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt","line":130,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt\nLine 143: fun connectionsReusedWithRedirectEvenIfPoolIsSizeZero() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt","line":143,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Como eu faço para interromper todas as requisições que estão na fila ou em execução agora?","query":"cancel all calls","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt","symbol":"cancelAll","line":148,"lang":"pt","candidates":[{"text":"File: CHANGELOG.md\nLine 274: * Fix: Change `MockWebServer.close()` to cancel ongoing calls that are blocked on a delay.","file":"CHANGELOG.md","line":274,"lexical":0.44999999999999996,"target":false},{"text":"File: CHANGELOG.md\nLine 727: * Fix: Don't silently ignore calls to `EventSource.cancel()` made from","file":"CHANGELOG.md","line":727,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_2x.md\nLine 552: responses. Both types of calls can be canceled via the `Call` or the","file":"docs/changelogs/changelog_2x.md","line":552,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 49: * Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call","file":"docs/changelogs/changelog_3x.md","line":49,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 283: * Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call","file":"docs/changelogs/changelog_3x.md","line":283,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 426: * Fix: Don't release HTTP/2 connections that have multiple canceled calls. We had a bug where","file":"docs/changelogs/changelog_3x.md","line":426,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 427: canceling calls would cause the shared HTTP/2 connection to be unnecessarily released. This","file":"docs/changelogs/changelog_3x.md","line":427,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 1083: * **Canceling batches of calls is now the application's responsibility.**","file":"docs/changelogs/changelog_3x.md","line":1083,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 1084: The API to cancel calls by tag has been removed and replaced with a more","file":"docs/changelogs/changelog_3x.md","line":1084,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 1087: selects calls by tag, host, or whatever, and invokes `Call.cancel()` on the","file":"docs/changelogs/changelog_3x.md","line":1087,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 331: useful for splitting out canceled calls in metrics.","file":"docs/changelogs/changelog_4x.md","line":331,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/calls.md\nLine 46: Calls can be canceled from any thread. This will fail the call if it hasn’t yet completed! Code that is writing the request body or reading the response body will suffer an `IOException` when its call is canceled.","file":"docs/features/calls.md","line":46,"lexical":0.65,"target":false},{"text":"File: docs/recipes.md\nLine 649: Use `Call.cancel()` to stop an ongoing call immediately. If a thread is currently writing a request or reading a response, it will receive an `IOException`. Use this to conserve the network when a call is no longer necessary; for example when your user nav…","file":"docs/recipes.md","line":649,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt\nLine 138: assertThat(e).matchesPredicate { it is CallStart || it is Canceled }","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt","line":138,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt\nLine 120: /** Running asynchronous calls. Includes canceled calls that haven't finished yet. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt","line":120,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt\nLine 123: /** Running synchronous calls. Includes canceled calls that haven't finished yet. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt","line":123,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt\nLine 145: * Cancel all calls currently enqueued or executing. Includes calls executed both","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt","line":145,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt\nLine 197: * Schedules immediate execution of [Task.tryCancel] on all currently-enqueued tasks. These calls","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt","line":197,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt\nLine 388: // Permit any number of CANCEL errors on locally-canceled calls.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt","line":388,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4871: fun lateCancelCallsOnFailure() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4871,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt\nLine 294: // Cancel some calls. That doesn't impact running or queued.","file":"okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt","line":294,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt\nLine 622: * When an interceptor throws an unexpected exception, asynchronous calls are canceled. The","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt","line":622,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Je cherche à savoir comment on récupère les en-têtes de fin de flux si le transfert est déjà terminé. Peux-tu me montrer la logique qui vérifie si les buffers sont vides pour renvoyer ces informations ?","query":"peek trailers","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","symbol":"peekTrailers","line":173,"lang":"fr","candidates":[{"text":"File: CHANGELOG.md\nLine 195: * New: `Response.peekTrailers()`. When we changed `Response.trailers()` to block instead of","file":"CHANGELOG.md","line":195,"lexical":0.39999999999999997,"target":false},{"text":"File: CHANGELOG.md\nLine 196: throwing in 5.0.0, we inadvertently removed the ability for callers to peek the trailers","file":"CHANGELOG.md","line":196,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1245: public final fun peekTrailers ()Lokhttp3/Headers;","file":"okhttp/api/android/okhttp.api","line":1245,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1244: public final fun peekTrailers ()Lokhttp3/Headers;","file":"okhttp/api/jvm/okhttp.api","line":1244,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 218: fun peekTrailers(): Headers? = trailersSource.peek()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":218,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt\nLine 152: fun peekTrailers(): Headers? = codec.peekTrailers()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt","line":152,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 161: override fun peek() = exchange.peekTrailers()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":161,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt\nLine 168: return peek() ?: error(\"null trailers after exhausting response body?!\")","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt","line":168,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt\nLine 77: fun peekTrailers(): Headers?","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt","line":77,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt\nLine 168: override fun peekTrailers(): Headers? {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt","line":168,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt\nLine 122: override fun peekTrailers(): Headers? = stream!!.peekTrailers()","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt","line":122,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 174: fun peekTrailers(): Headers? {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":174,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 495: fun peekTrailersHttp1() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":495,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 496: peekTrailers(Protocol.HTTP_1_1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":496,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 500: fun peekTrailersHttp2() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":500,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 501: peekTrailers(Protocol.HTTP_2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":501,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 504: private fun peekTrailers(protocol: Protocol) {","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":504,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 521: assertThat(response.peekTrailers()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":521,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 523: assertThat(response.peekTrailers()).isEqualTo(headersOf(\"t1\", \"v2\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":523,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 524: assertThat(response.peekTrailers()).isEqualTo(headersOf(\"t1\", \"v2\")) // Idempotent.","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":524,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 541: * to peek or read the trailers should throw.","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":541,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 561: assertThat(response.peekTrailers()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":561,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 566: assertThat(response.peekTrailers()).isNull() // Okay. This is what HTTP/1 does.","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":566,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 626: assertThat(response.peekTrailers()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":626,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt\nLine 633: response.peekTrailers()","file":"okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt","line":633,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 563: assertThat(stream.peekTrailers()).isEqualTo(Headers.EMPTY)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":563,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 591: assertThat(stream.peekTrailers()).isEqualTo(headersOf(\"trailers\", \"boom\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":591,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 652: assertThat(stream.peekTrailers()).isEqualTo(headersOf(\"z\", \"zebra\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":652,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 753: assertThat(stream.peekTrailers()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":753,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 771: stream.peekTrailers()","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":771,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 812: assertThat(stream.peekTrailers()).isEqualTo(Headers.EMPTY)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":812,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt\nLine 1704: assertThat(stream.peekTrailers()).isEqualTo(headersOf(\"c\", \"cola\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt","line":1704,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"제한된 TLS 설정에서 암호화 스위트가 어떤 순서로 광고되는지 확인하는 테스트 코드 어디 있어?","query":"RESTRICTED_TLS cipherSuites","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","symbol":"advertisedOrderInRestricted","line":223,"lang":"ko","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 225: assertThat(ConnectionSpec.RESTRICTED_TLS.cipherSuites!!).containsExactly(","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":225,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 249: ConnectionSpec.RESTRICTED_TLS.effectiveCipherSuites(platformDefaultCipherSuites)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":249,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"EventSourceの接続を確立するために使用するHTTPリクエストを構築するメカニズムを確認したいです。SSE接続の初期化時にどのようなリクエストが送信されるのか、その定義箇所を特定してください。","query":"event source request","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt","symbol":"request","line":112,"lang":"ja","candidates":[{"text":"File: okhttp-sse/api/okhttp-sse.api\nLine 7: public abstract fun newEventSource (Lokhttp3/Request;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource;","file":"okhttp-sse/api/okhttp-sse.api","line":7,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt\nLine 21: /** Returns the original request that initiated this event source. */","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt","line":21,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt\nLine 33: EventSource.Factory { request, listener ->","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt","line":33,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt\nLine 41: RealEventSource(actualRequest, listener).apply {","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt","line":41,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt\nLine 51: val eventSource = RealEventSource(response.request, listener)","file":"okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt","line":51,"lexical":0.65,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 340: return factory.newEventSource(request, listener)","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":340,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Reporte de error: La búsqueda binaria en la base de datos de sufijos públicos no está encontrando correctamente las coincidencias de etiquetas cuando se procesa el contenido binario, posiblemente debido a un error en la lógica de comparación de bytes o en el manejo de los delimitadores de línea durante la búsqueda.","query":"public suffix search","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt","symbol":"binarySearch","line":160,"lang":"es","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt\nLine 91: val rule = publicSuffixList.bytes.binarySearch(domainLabelsUtf8Bytes, i)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt","line":91,"lexical":0.65,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt\nLine 108: val rule = publicSuffixList.bytes.binarySearch(labelsWithWildcard, labelIndex)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt","line":108,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt\nLine 121: publicSuffixList.exceptionBytes.binarySearch(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt","line":121,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"¿Cómo convierte un archivo local en una respuesta simulada para el servidor?","query":"file MockResponse","file":"samples/static-server/src/main/java/okhttp3/sample/SampleServer.java","symbol":"fileToResponse","line":94,"lang":"es","candidates":[{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt\nLine 17: @file:JvmName(\"MockResponseBodiesKt\")","file":"mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt","line":17,"lexical":0.6000000000000001,"target":false},{"text":"File: samples/static-server/src/main/java/okhttp3/sample/SampleServer.java\nLine 76: private MockResponse directoryToResponse(String basePath, File directory) {","file":"samples/static-server/src/main/java/okhttp3/sample/SampleServer.java","line":76,"lexical":0.39999999999999997,"target":true},{"text":"File: samples/static-server/src/main/java/okhttp3/sample/SampleServer.java\nLine 94: private MockResponse fileToResponse(String path, File file) throws IOException {","file":"samples/static-server/src/main/java/okhttp3/sample/SampleServer.java","line":94,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estou tentando ajustar as configurações de ambiente para rodar os testes do Maven. Onde encontro o local que define o sistema operacional e a arquitetura para o download do wrapper?","query":"distributionPlatform linux","file":"maven-tests/mvnw","symbol":"distributionPlatform","line":127,"lang":"pt","candidates":[{"text":"File: maven-tests/mvnw\nLine 124: :Linux*x86_64*) distributionPlatform=linux-amd64 ;;","file":"maven-tests/mvnw","line":124,"lexical":0.39999999999999997,"target":true},{"text":"File: maven-tests/mvnw\nLine 127: distributionPlatform=linux-amd64","file":"maven-tests/mvnw","line":127,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"このテストメソッドでレスポンスボディのコンテンツタイプをnullに設定する必要があります。","query":"response body contentType null","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt","symbol":"contentType","line":357,"lang":"ja","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 235: * Returns a new response body that transmits this string. If [contentType] is non-null and","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":235,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 244: fun String.toResponseBody(contentType: MediaType? = null): ResponseBody {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":244,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 253: fun ByteArray.toResponseBody(contentType: MediaType? = null): ResponseBody =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":253,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt\nLine 261: fun ByteString.toResponseBody(contentType: MediaType? = null): ResponseBody =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt","line":261,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt\nLine 78: assertThat(response.body.contentType()).isNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt","line":78,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"我需要计算缓存的命中率,请帮我获取当前的命中次数。","query":"cache hit count","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","symbol":"hitCount","line":421,"lang":"zh","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 1093: assertEquals(1, cache.hitCount())","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":1093,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 82: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":82,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 127: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":127,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 192: assertThat(cache.hitCount).isEqualTo(2)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":192,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 232: assertThat(cache.hitCount).isEqualTo(2)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":232,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 276: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":276,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 332: assertThat(cache.hitCount).isEqualTo(1)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":332,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 381: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":381,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 420: assertThat(cache.hitCount).isEqualTo(1)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":420,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 465: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":465,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 518: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":518,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 585: assertThat(cache.hitCount).isEqualTo(4)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":585,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 664: assertThat(cache.hitCount).isEqualTo(3)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":664,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 703: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":703,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 747: assertThat(cache.hitCount).isEqualTo(2)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":747,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 787: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":787,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 848: assertThat(cache.hitCount).isEqualTo(1)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":848,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 899: assertThat(cache.hitCount).isEqualTo(2)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":899,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 950: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":950,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 970: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":970,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt\nLine 1052: assertThat(cache.hitCount).isEqualTo(0)","file":"okhttp/src/commonTest/kotlin/okhttp3/internal/dns/StateMachineDnsCallTest.kt","line":1052,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt\nLine 101: assertThat(cache.hitCount()).isEqualTo(1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt","line":101,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt\nLine 119: assertThat(cache.hitCount()).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt","line":119,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt\nLine 134: assertThat(cache.hitCount()).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt","line":134,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 326: assertThat(cache.hitCount()).isEqualTo(1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":326,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 363: assertThat(cache.hitCount()).isEqualTo(1)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":363,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 412: assertThat(cache.hitCount()).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":412,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 587: assertThat(cache.hitCount()).isEqualTo(2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":587,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 789: assertThat(cache.hitCount()).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":789,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 852: assertThat(cache.hitCount()).isEqualTo(2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":852,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 908: assertThat(cache.hitCount()).isEqualTo(2)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":908,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt\nLine 2172: assertThat(cache.hitCount()).isEqualTo(0)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt","line":2172,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Ich arbeite gerade an der Konfiguration für die TLS-Zertifikate. Kannst du mir zeigen, wie ich den Identifikationsnamen für das Zertifikat setzen kann, wenn ich kein SAN verwende?","query":"set common name","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","symbol":"commonName","line":252,"lang":"de","candidates":[{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt\nLine 246: * Set this certificate's common name (CN). Historically this held the hostname of TLS","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt","line":246,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt\nLine 321: ) = commonSet(name, value)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt","line":321,"lexical":0.55,"target":false}]} {"site":"project_search","repo":"okhttp","task":"인터셉터가 요청 메서드와 바디를 수정하고 헤더를 추가하는 동작을 검증하는 테스트 로직을 작성 중이야. 네트워크 계층에서 요청 데이터가 의도한 대로 변환되어 서버로 전달되는지 확인하는 코드를 찾아줘.","query":"interceptor rewrite request","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt","symbol":"rewriteRequestToServer","line":312,"lang":"ko","candidates":[{"text":"File: docs/changelogs/changelog_3x.md\nLine 120: Interceptors that rewrite or replace the request body may now inadvertently interfere with","file":"docs/changelogs/changelog_3x.md","line":120,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/features/interceptors.md\nLine 4: Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. Here's a simple interceptor that logs the outgoing request and the incoming response.","file":"docs/features/interceptors.md","line":4,"lexical":0.65,"target":false},{"text":"File: docs/features/interceptors.md\nLine 178: Symmetrically, interceptors can rewrite response headers and transform the response body. This is generally more dangerous than rewriting request headers because it may violate the webserver's expectations!","file":"docs/features/interceptors.md","line":178,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt\nLine 303: fun applicationInterceptorsRewriteRequestToServer() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt","line":303,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt\nLine 308: fun networkInterceptorsRewriteRequestToServer() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt","line":308,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"liese daten aus einer quelle für einen bestimmten stream aus","query":"http2 read data","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt","symbol":"data","line":453,"lang":"de","candidates":[{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 902: HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;->data(ZILokio/BufferedSource;I)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":902,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt\nLine 364: /** Buffer with readable data. Guarded by Http2Stream.this. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt","line":364,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 4763: fun clientReadsHeadersDataTrailersHttp2() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":4763,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt\nLine 798: private fun assertData(): Http2Reader.Handler =","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt","line":798,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Wie wird sichergestellt, dass bestimmte Header bei der Konvertierung für HTTP/2 entfernt werden?","query":"http2 forbidden headers","file":"okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt","symbol":"http2HeadersListDropsForbiddenHeadersHttp2","line":45,"lang":"de","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt\nLine 27: @Test fun readNameValueBlockDropsForbiddenHeadersHttp2() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt","line":27,"lexical":0.65,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt\nLine 45: @Test fun http2HeadersListDropsForbiddenHeadersHttp2() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt","line":45,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"キャンセルされたリクエストの順序を制御するために、ラッチを使ってレスポンスの送出を待機させている処理はどこ?","query":"responseDequeuedLatches requestCanceledLatches","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","symbol":"dispatch","line":1173,"lang":"ja","candidates":[{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 1092: val dispatcher = RespondAfterCancelDispatcher(responseDequeuedLatches, requestCanceledLatches)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":1092,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 1109: callAndCancel(0, responseDequeuedLatches[0], requestCanceledLatches[0])","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":1109,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 1133: val dispatcher = RespondAfterCancelDispatcher(responseDequeuedLatches, requestCanceledLatches)","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":1133,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 1157: callAndCancel(0, responseDequeuedLatches[0], requestCanceledLatches[0])","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":1157,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt\nLine 1158: callAndCancel(1, responseDequeuedLatches[1], requestCanceledLatches[1])","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt","line":1158,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"实现okhttp的自定义身份验证逻辑以处理401响应","query":"okhttp authenticator","file":"samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt","symbol":"Authenticate","line":26,"lang":"zh","candidates":[{"text":"File: docs/changelogs/changelog_3x.md\nLine 342: * **Proxy authenticators are now asked for preemptive authentication.** OkHttp will now request","file":"docs/changelogs/changelog_3x.md","line":342,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 1090: * **OkHttp no longer uses the global `java.net.Authenticator` by default.**","file":"docs/changelogs/changelog_3x.md","line":1090,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 1093: authenticator is available in the `okhttp-urlconnection` module.","file":"docs/changelogs/changelog_3x.md","line":1093,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/changelog_4x.md\nLine 244: `java.net.Authenticator`. This obsoletes `JavaNetAuthenticator` in the `okhttp-urlconnection`","file":"docs/changelogs/changelog_4x.md","line":244,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/changelogs/upgrading_to_okhttp_4.md\nLine 100: * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner,","file":"docs/changelogs/upgrading_to_okhttp_4.md","line":100,"lexical":0.6000000000000001,"target":false},{"text":"File: docs/features/calls.md\nLine 31: If the response issues an authorization challenge, OkHttp will ask the [`Authenticator`](https://lysine.dev/okhttp/5.x/okhttp/okhttp3/-authenticator/) (if one is configured) to satisfy the challenge. If the authenticator supplies a credential, the request …","file":"docs/features/calls.md","line":31,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/features/connections.md\nLine 33: * When making an HTTPS connection through an HTTP proxy, the proxy may issue an authentication challenge. OkHttp will call the proxy [authenticator](https://lysine.dev/okhttp/5.x/okhttp/okhttp3/-authenticator/) and try again.","file":"docs/features/connections.md","line":33,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 833: OkHttp can automatically retry unauthenticated requests. When a response is `401 Not Authorized`, an `Authenticator` is asked to supply credentials. Implementations should build a new request that includes the missing credentials. If no credentials are ava…","file":"docs/recipes.md","line":833,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/works_with_okhttp.md\nLine 20: * [okhttp-digest](https://github.com/rburgst/okhttp-digest): A digest authenticator for OkHttp.","file":"docs/works_with_okhttp.md","line":20,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt\nLine 33: import okhttp3.internal.RecordingOkAuthenticator","file":"okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt","line":33,"lexical":0.5,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt\nLine 19: import okhttp3.Authenticator","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt","line":19,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-urlconnection/README.md\nLine 4: This module integrates OkHttp with `Authenticator` and `CookieHandler` from `java.net`.","file":"okhttp-urlconnection/README.md","line":4,"lexical":0.5,"target":false},{"text":"File: okhttp-urlconnection/api/okhttp-urlconnection.api\nLine 1: public final class okhttp3/JavaNetAuthenticator : okhttp3/Authenticator {","file":"okhttp-urlconnection/api/okhttp-urlconnection.api","line":1,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt\nLine 19: import okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR","file":"okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt","line":19,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt\nLine 24: * Instead, configure your OkHttpClient.Builder to use `Authenticator.JAVA_NET_AUTHENTICATOR`:","file":"okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt","line":24,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt\nLine 28: * .authenticator(okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR)","file":"okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt","line":28,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt\nLine 32: @Deprecated(message = \"Use okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR instead\")","file":"okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt","line":32,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 8: public final fun -deprecated_proxyAuthenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":8,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 13: public fun (Ljava/lang/String;ILokhttp3/Dns;Ljavax/net/SocketFactory;Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/HostnameVerifier;Lokhttp3/CertificatePinner;Lokhttp3/Authenticator;Ljava/net/Proxy;Ljava/util/List;Ljava/util/List;Ljava/net/ProxySel…","file":"okhttp/api/android/okhttp.api","line":13,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 22: public final fun proxyAuthenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":22,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 30: public abstract interface class okhttp3/Authenticator {","file":"okhttp/api/android/okhttp.api","line":30,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 31: public static final field Companion Lokhttp3/Authenticator$Companion;","file":"okhttp/api/android/okhttp.api","line":31,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 32: public static final field JAVA_NET_AUTHENTICATOR Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":32,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 33: public static final field NONE Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":33,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 37: public final class okhttp3/Authenticator$Companion {","file":"okhttp/api/android/okhttp.api","line":37,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 819: public abstract fun getAuthenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":819,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 830: public abstract fun getProxyAuthenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":830,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 839: public abstract fun withAuthenticator (Lokhttp3/Authenticator;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/android/okhttp.api","line":839,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 848: public abstract fun withProxyAuthenticator (Lokhttp3/Authenticator;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/android/okhttp.api","line":848,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 967: public final fun -deprecated_authenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":967,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 986: public final fun -deprecated_proxyAuthenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":986,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 995: public final fun authenticator ()Lokhttp3/Authenticator;","file":"okhttp/api/android/okhttp.api","line":995,"lexical":0.6000000000000001,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estoy intentando verificar si las cookies se están guardando correctamente después de una respuesta. ¿Podrías mostrarme cómo capturar y validar las cookies recibidas en las pruebas?","query":"intercept cookie jar","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt","symbol":"RecordingCookieJar","line":23,"lang":"es","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 844: public abstract fun withCookieJar (Lokhttp3/CookieJar;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/android/okhttp.api","line":844,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 844: public abstract fun withCookieJar (Lokhttp3/CookieJar;)Lokhttp3/Interceptor$Chain;","file":"okhttp/api/jvm/okhttp.api","line":844,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 849: HSPLokhttp3/internal/http/BridgeInterceptor;->(Lokhttp3/CookieJar;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":849,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 229: override fun withCookieJar(cookieJar: CookieJar): Interceptor.Chain {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":229,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt\nLine 230: check(exchange == null) { \"cookieJar can't be adjusted in a network interceptor\" }","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt","line":230,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 541: override fun Interceptor.Chain.value(): CookieJar = cookieJar","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":541,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt\nLine 543: override fun Interceptor.Chain.withOverride(value: CookieJar): Interceptor.Chain = withCookieJar(value)","file":"okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt","line":543,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 1419: override fun withCookieJar(cookieJar: CookieJar): Interceptor.Chain {","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":1419,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Ich arbeite gerade an der Implementierung einer Überwachung für den Datendurchsatz. Kannst du mir zeigen, wie ich die Anzahl der ausstehenden Nachrichten auslesen kann, um ein Überlaufen des Puffers zu verhindern?","query":"outgoing message buffer","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt","symbol":"queueSize","line":78,"lang":"de","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt\nLine 54: * Messages enqueued with [send] are buffered in an outgoing message queue. This queue has a 16 MiB","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt","line":54,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt\nLine 75: * Use this to monitor backpressure and avoid exceeding the 16 MiB outgoing message buffer limit.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt","line":75,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt\nLine 629: // Send messages until the client's outgoing buffer overflows!","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt","line":629,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Ich arbeite gerade an den Testfällen für die Netzwerk-Simulation. Kannst du mir erklären, welche spezifische Fehlerbedingung ausgelöst wird, wenn die Verbindung bereits während des TLS-Aufbaus unterbrochen werden soll?","query":"handshake failure","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/SocketPolicy.kt","symbol":"FAIL_HANDSHAKE","line":28,"lang":"de","candidates":[{"text":"File: docs/changelogs/changelog_3x.md\nLine 674: * **OkHttp no longer recovers from TLS handshake failures by attempting a TLSv1 connection.**","file":"docs/changelogs/changelog_3x.md","line":674,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/features/connections.md\nLine 43: …PS over an HTTP proxy), or a direct TLS connection. It does TLS handshakes as necessary. This step may be retried for tunnel challenges and TLS handshake failures.","file":"docs/features/connections.md","line":43,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/features/https.md\nLine 46: ### Debugging TLS Handshake Failures","file":"docs/features/https.md","line":46,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 457: processHandshakeFailure(raw)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":457,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 642: private fun processHandshakeFailure(raw: Socket) {","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":642,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt\nLine 654: socket.startHandshake() // we're testing a handshake failure","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt","line":654,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt\nLine 391: is Handshaker.Result.Failure -> {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/sockets/FakeSslSocket.kt","line":391,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt\nLine 302: // org.bouncycastle.tls.TlsFatalAlertReceived: handshake_failure(40)","file":"okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt","line":302,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt\nLine 108: return Handshaker.Result.Failure(","file":"okhttp-testing-support/src/test/kotlin/okhttp3/sockets/FakeTlsTest.kt","line":108,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt\nLine 207: // // org.bouncycastle.tls.TlsFatalAlertReceived: handshake_failure(40)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt","line":207,"lexical":0.6000000000000001,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1349: fun tlsHandshakeFailure_noFallbackByDefault() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1349,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1368: fun recoverFromTlsHandshakeFailure() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1368,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1392: fun recoverFromTlsHandshakeFailure_tlsFallbackScsvEnabled() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1392,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1429: fun recoverFromTlsHandshakeFailure_Async() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1429,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1452: fun noRecoveryFromTlsHandshakeFailureWhenTlsFallbackIsDisabled() {","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1452,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1565: .assertFailure(SSLHandshakeException::class.java)","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1565,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EchOnFakeNetworkTest.kt\nLine 368: return Handshaker.Result.Failure(","file":"okhttp/src/jvmTest/kotlin/okhttp3/EchOnFakeNetworkTest.kt","line":368,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EchOnFakeNetworkTest.kt\nLine 418: return Handshaker.Result.Failure(","file":"okhttp/src/jvmTest/kotlin/okhttp3/EchOnFakeNetworkTest.kt","line":418,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EchOnFakeNetworkTest.kt\nLine 468: return Handshaker.Result.Failure(","file":"okhttp/src/jvmTest/kotlin/okhttp3/EchOnFakeNetworkTest.kt","line":468,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EchOnFakeNetworkTest.kt\nLine 525: return Handshaker.Result.Failure(","file":"okhttp/src/jvmTest/kotlin/okhttp3/EchOnFakeNetworkTest.kt","line":525,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EchOnFakeNetworkTest.kt\nLine 570: return Handshaker.Result.Failure(","file":"okhttp/src/jvmTest/kotlin/okhttp3/EchOnFakeNetworkTest.kt","line":570,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt\nLine 130: // An ordinary handshake failure doesn't verify a public hostname.","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt","line":130,"lexical":0.39999999999999997,"target":false}]} {"site":"project_search","repo":"okhttp","task":"在尝试进行连接规划时,如果当前的配置无法匹配,逻辑似乎无法正确地从剩余的可用配置列表中筛选出下一个与现有 SSL 套接字兼容的方案,导致无法平滑降级到兼容的协议。","query":"next compatible spec","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","symbol":"nextCompatibleConnectionSpec","line":547,"lang":"zh","candidates":[{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 488: return nextCompatibleConnectionSpec(connectionSpecs, sslSocket)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":488,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 540: return nextCompatibleConnectionSpec(connectionSpecs, sslSocket)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":540,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 544: * Returns a copy of this connection with the next compatible connection spec, or null if none","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":544,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt\nLine 547: private fun nextCompatibleConnectionSpec(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt","line":547,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"我想看看当一次网络请求开始执行时,系统是如何通知所有注册过的监听器的。请帮我找出这个分发通知的具体逻辑。","query":"event listener dispatch","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","symbol":"callStart","line":579,"lang":"zh","candidates":[{"text":"File: CHANGELOG.md\nLine 174: * New: Publish events when calls must wait to execute. `EventListener.dispatcherQueueStart()`","file":"CHANGELOG.md","line":174,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt\nLine 253: call.call.eventListener.dispatcherQueueEnd(call.call, this)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt","line":253,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt\nLine 264: enqueuedCall.call.eventListener.dispatcherQueueStart(enqueuedCall.call, this)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt","line":264,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"ヘッダーの値を全て削除する処理で、特定のキーに一致するすべてのエントリが正しく削除されることを確認してください。","query":"remove all headers","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt","symbol":"removeAll","line":312,"lang":"ja","candidates":[{"text":"File: mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt\nLine 147: headersBuilder.removeAll(name)","file":"mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt","line":147,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 300: * Removes all HTTP headers including any \"Content-Length\" and \"Transfer-encoding\" headers that","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":300,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 342: /** Removes all headers named [name], then adds a new header with the name and value. */","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":342,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 352: /** Removes all headers named [name]. */","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":352,"lexical":0.44999999999999996,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt\nLine 355: headers_.removeAll(name)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt","line":355,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 693: public final fun removeAll (Ljava/lang/String;)Lokhttp3/Headers$Builder;","file":"okhttp/api/android/okhttp.api","line":693,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 693: public final fun removeAll (Ljava/lang/String;)Lokhttp3/Headers$Builder;","file":"okhttp/api/jvm/okhttp.api","line":693,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 624: HSPLokhttp3/Headers$Builder;->removeAll(Ljava/lang/String;)Lokhttp3/Headers$Builder;","file":"okhttp/src/androidMain/baseline-prof.txt","line":624,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 556: responseHeadersBuilder.removeAll(SENT_MILLIS)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":556,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt\nLine 557: responseHeadersBuilder.removeAll(RECEIVED_MILLIS)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt","line":557,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt\nLine 30: * responses coming back in. Typically interceptors add, remove, or transform headers on the request","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt","line":30,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 272: /** Removes all headers named [name] on this builder. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":272,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 275: headers.removeAll(name)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":275,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt\nLine 278: /** Removes all headers on this builder and adds [headers]. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt","line":278,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 439: /** Removes all headers named [name] on this builder. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":439,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 442: headers.removeAll(name)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":442,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt\nLine 445: /** Removes all headers on this builder and adds [headers]. */","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt","line":445,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt\nLine 102: internal fun Headers.Builder.commonRemoveAll(name: String) =","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt","line":102,"lexical":0.65,"target":false}]} {"site":"project_search","repo":"okhttp","task":"busca la función que gestiona la decisión de realizar una siguiente petición tras una respuesta de red","query":"follow up decision","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","symbol":"followUpDecision","line":531,"lang":"es","candidates":[{"text":"File: CHANGELOG.md\nLine 373: * New: `EventListener.followUpDecision()` is called each time a response is received. It notifies","file":"CHANGELOG.md","line":373,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 61: import okhttp3.CallEvent.FollowUpDecision","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":61,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 644: FollowUpDecision::class,","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":644,"lexical":0.44999999999999996,"target":false},{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 667: FollowUpDecision::class,","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":667,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 33: import okhttp3.CallEvent.FollowUpDecision","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":33,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 272: FollowUpDecision::class,","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":272,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt\nLine 256: data class FollowUpDecision(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt","line":256,"lexical":0.55,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 240: override fun followUpDecision(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":240,"lexical":0.55,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt\nLine 245: logWithTime(\"followUpDecision\")","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt","line":245,"lexical":0.55,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 38: import okhttp3.CallEvent.FollowUpDecision","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":38,"lexical":0.55,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 250: override fun followUpDecision(","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":250,"lexical":0.55,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 254: ) = onEvent(FollowUpDecision(System.nanoTime(), call, networkResponse, nextRequest))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":254,"lexical":0.55,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 575: public fun followUpDecision (Lokhttp3/Call;Lokhttp3/Response;Lokhttp3/Request;)V","file":"okhttp/api/android/okhttp.api","line":575,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 575: public fun followUpDecision (Lokhttp3/Call;Lokhttp3/Response;Lokhttp3/Request;)V","file":"okhttp/api/jvm/okhttp.api","line":575,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 522: * Client configuration may be used to make follow-up decisions, such as:","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":522,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 531: open fun followUpDecision(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":531,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 849: override fun followUpDecision(","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":849,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 855: delegate.followUpDecision(call, networkResponse, nextRequest)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":855,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt\nLine 100: call.eventListener.followUpDecision(call, response, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt","line":100,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt\nLine 107: call.eventListener.followUpDecision(call, response, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt","line":107,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt\nLine 114: call.eventListener.followUpDecision(call, response, null)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt","line":114,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt\nLine 118: call.eventListener.followUpDecision(call, response, followUp)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt","line":118,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 87: import okhttp3.CallEvent.FollowUpDecision","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":87,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 1773: FollowUpDecision::class,","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":1773,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 47: import okhttp3.CallEvent.FollowUpDecision","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":47,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 342: FollowUpDecision::class,","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":342,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 474: FollowUpDecision::class,","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":474,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 479: FollowUpDecision::class,","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":479,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 486: assertThat(eventRecorder.findEvent()).all {","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":486,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 487: prop(FollowUpDecision::nextRequest).isNotNull()","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":487,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 65: import okhttp3.CallEvent.FollowUpDecision","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":65,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 186: FollowUpDecision::class,","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":186,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Find where the lifecycle event is triggered when a request is finished with its underlying network transport and the link is being returned to the pool or closed.","query":"call connection released","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt","symbol":"connectionReleased","line":73,"lang":"en","candidates":[{"text":"File: android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt\nLine 58: import okhttp3.CallEvent.ConnectionReleased","file":"android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt","line":58,"lexical":0.44999999999999996,"target":false},{"text":"File: docs/changelogs/changelog_3x.md\nLine 427: canceling calls would cause the shared HTTP/2 connection to be unnecessarily released. This","file":"docs/changelogs/changelog_3x.md","line":427,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-logging-interceptor/api/logging-interceptor.api\nLine 51: public fun connectionReleased (Lokhttp3/Call;Lokhttp3/Connection;)V","file":"okhttp-logging-interceptor/api/logging-interceptor.api","line":51,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt\nLine 30: import okhttp3.CallEvent.ConnectionReleased","file":"okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt","line":30,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 33: import okhttp3.CallEvent.ConnectionReleased","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":33,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt\nLine 152: ) = onEvent(ConnectionReleased(System.nanoTime(), call, connection))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt","line":152,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt\nLine 191: logEvent(ConnectionEvent.ConnectionReleased(System.nanoTime(), connection, call))","file":"okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt","line":191,"lexical":0.65,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 570: public fun connectionReleased (Lokhttp3/Call;Lokhttp3/Connection;)V","file":"okhttp/api/android/okhttp.api","line":570,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 570: public fun connectionReleased (Lokhttp3/Call;Lokhttp3/Connection;)V","file":"okhttp/api/jvm/okhttp.api","line":570,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 603: HSPLokhttp3/EventListener;->connectionReleased(Lokhttp3/Call;Lokhttp3/Connection;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":603,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt\nLine 59: * one or more streams, and then released. An allocated connection won't be stolen by other calls","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt","line":59,"lexical":0.65,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 245: * Invoked after a connection has been released for the `call`.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":245,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt\nLine 703: delegate.connectionReleased(call, connection)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt","line":703,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt\nLine 107: * The threads and connections that are held will be released automatically if they remain idle. But","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt","line":107,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt\nLine 57: * connection has been successfully released. No further calls to this listener will be made.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt","line":57,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt\nLine 120: // If the call's connection wasn't released, reuse it. We don't call connectionAcquired() here","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt","line":120,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt\nLine 127: // The call's connection was released.","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt","line":127,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt\nLine 129: call.eventListener.connectionReleased(call, candidate)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt","line":129,"lexical":0.55,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt\nLine 130: candidate.connectionListener.connectionReleased(candidate, call)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt","line":130,"lexical":0.55,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt\nLine 84: import okhttp3.CallEvent.ConnectionReleased","file":"okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt","line":84,"lexical":0.65,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt\nLine 44: import okhttp3.CallEvent.ConnectionReleased","file":"okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt","line":44,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt\nLine 62: import okhttp3.CallEvent.ConnectionReleased","file":"okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt","line":62,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt\nLine 34: import okhttp3.CallEvent.ConnectionReleased","file":"okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt","line":34,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt\nLine 41: import okhttp3.CallEvent.ConnectionReleased","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt","line":41,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt\nLine 263: addAll(listOf(\"ConnectionAcquired\", \"ConnectionReleased\", \"CallEnd\"))","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt","line":263,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt\nLine 32: import okhttp3.CallEvent.ConnectionReleased","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt","line":32,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt\nLine 357: // ResponseFailed, ConnectionReleased, CallFailed","file":"okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt","line":357,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java\nLine 148: @Override public void connectionReleased(Call call, Connection connection) {","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java","line":148,"lexical":0.44999999999999996,"target":false},{"text":"File: samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java\nLine 123: @Override public void connectionReleased(Call call, Connection connection) {","file":"samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java","line":123,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Ich schreibe gerade Tests für die Handhabung von Medientypen. Kannst du mir zeigen, wie das Verhalten für den Standard-Zeichensatz geprüft wird, wenn keiner explizit im String angegeben ist?","query":"MediaType charset default","file":"okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt","symbol":"testDefaultCharset","line":38,"lang":"de","candidates":[{"text":"File: okhttp/api/android/okhttp.api\nLine 868: public static synthetic fun charset$default (Lokhttp3/MediaType;Ljava/nio/charset/Charset;ILjava/lang/Object;)Ljava/nio/charset/Charset;","file":"okhttp/api/android/okhttp.api","line":868,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 868: public static synthetic fun charset$default (Lokhttp3/MediaType;Ljava/nio/charset/Charset;ILjava/lang/Object;)Ljava/nio/charset/Charset;","file":"okhttp/api/jvm/okhttp.api","line":868,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 693: HSPLokhttp3/internal/Internal;->charset$default(Lokhttp3/MediaType;Ljava/nio/charset/Charset;I)Ljava/nio/charset/Charset;","file":"okhttp/src/androidMain/baseline-prof.txt","line":693,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt\nLine 795: val defaultCharset: Charset? = mediaType.charset()","file":"okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt","line":795,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"Estou tentando entender como o sistema transforma os dados brutos do leitor em uma representação de texto. Você pode me mostrar qual implementação é usada para converter o identificador de objeto em uma string?","query":"decode object identifier","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","symbol":"decode","line":135,"lang":"pt","candidates":[{"text":"File: okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt\nLine 135: override fun decode(reader: DerReader): String = reader.readObjectIdentifier()","file":"okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt","line":135,"lexical":0.44999999999999996,"target":true},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt\nLine 391: @Test fun `decode object identifier without adapter`() {","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt","line":391,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt\nLine 423: @Test fun `decode relative object identifier`() {","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt","line":423,"lexical":0.44999999999999996,"target":false},{"text":"File: okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt\nLine 755: @Test fun `decode object identifier`() {","file":"okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt","line":755,"lexical":0.44999999999999996,"target":false}]} {"site":"project_search","repo":"okhttp","task":"ファイルからデータを転送するために、ソースから全てのバイトをシンクに書き込むメソッドを実装してください。","query":"writeTo bufferedSink","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","symbol":"writeTo","line":206,"lang":"ja","candidates":[{"text":"File: docs/features/interceptors.md\nLine 166: @Override public void writeTo(BufferedSink sink) throws IOException {","file":"docs/features/interceptors.md","line":166,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 250: override fun writeTo(sink: BufferedSink) {","file":"docs/recipes.md","line":250,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 296: @Override public void writeTo(BufferedSink sink) throws IOException {","file":"docs/recipes.md","line":296,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1019: override fun writeTo(sink: BufferedSink) {","file":"docs/recipes.md","line":1019,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1040: delegate.writeTo(bufferedSink)","file":"docs/recipes.md","line":1040,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1120: @Override public void writeTo(BufferedSink sink) throws IOException {","file":"docs/recipes.md","line":1120,"lexical":0.39999999999999997,"target":false},{"text":"File: docs/recipes.md\nLine 1122: delegate.writeTo(bufferedSink);","file":"docs/recipes.md","line":1122,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/api/mockwebserver3.api\nLine 110: public abstract fun writeTo (Lokio/BufferedSink;)V","file":"mockwebserver/api/mockwebserver3.api","line":110,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt\nLine 33: public fun writeTo(sink: BufferedSink)","file":"mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt","line":33,"lexical":0.39999999999999997,"target":false},{"text":"File: mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt\nLine 35: override fun writeTo(sink: BufferedSink) {","file":"mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt","line":35,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 289: override fun writeTo(sink: BufferedSink) {","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":289,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 1090: override fun writeTo(sink: BufferedSink) {","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":1090,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt\nLine 1131: override fun writeTo(sink: BufferedSink) {","file":"okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt","line":1131,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingRequestBody.kt\nLine 34: override fun writeTo(sink: BufferedSink) {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingRequestBody.kt","line":34,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt\nLine 36: override fun writeTo(sink: BufferedSink) {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt","line":36,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt\nLine 32: override fun writeTo(sink: BufferedSink) {","file":"okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt","line":32,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 612: public fun writeTo (Lokio/BufferedSink;)V","file":"okhttp/api/android/okhttp.api","line":612,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 905: public fun writeTo (Lokio/BufferedSink;)V","file":"okhttp/api/android/okhttp.api","line":905,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/android/okhttp.api\nLine 1185: public abstract fun writeTo (Lokio/BufferedSink;)V","file":"okhttp/api/android/okhttp.api","line":1185,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 612: public fun writeTo (Lokio/BufferedSink;)V","file":"okhttp/api/jvm/okhttp.api","line":612,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 905: public fun writeTo (Lokio/BufferedSink;)V","file":"okhttp/api/jvm/okhttp.api","line":905,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/api/jvm/okhttp.api\nLine 1184: public abstract fun writeTo (Lokio/BufferedSink;)V","file":"okhttp/api/jvm/okhttp.api","line":1184,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/androidMain/baseline-prof.txt\nLine 706: HSPLokhttp3/internal/_RequestBodyCommonKt$commonToRequestBody$1;->writeTo(Lokio/BufferedSink;)V","file":"okhttp/src/androidMain/baseline-prof.txt","line":706,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt\nLine 61: override fun writeTo(sink: BufferedSink) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt","line":61,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt\nLine 103: override fun writeTo(sink: BufferedSink) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt","line":103,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 46: abstract fun writeTo(sink: BufferedSink)","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":46,"lexical":0.39999999999999997,"target":true},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 138: override fun writeTo(sink: BufferedSink) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":138,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 152: override fun writeTo(sink: BufferedSink) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":152,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 174: override fun writeTo(sink: BufferedSink) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":174,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 189: override fun writeTo(sink: BufferedSink) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":189,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt\nLine 206: override fun writeTo(sink: BufferedSink) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt","line":206,"lexical":0.39999999999999997,"target":false},{"text":"File: okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/GzipRequestBody.kt\nLine 31: override fun writeTo(sink: BufferedSink) {","file":"okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/GzipRequestBody.kt","line":31,"lexical":0.39999999999999997,"target":false}]}