- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for encodedPath (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val password: String = httpUrl.password val host: String = httpUrl.host val port: Int = httpUrl.port val pathSize: Int = httpUrl.pathSize val encodedPath: String = httpUrl.encodedPath val encodedPathSegments: List<String> = httpUrl.encodedPathSegments val pathSegments: List<String> = httpUrl.pathSegments val encodedQuery: String? = httpUrl.encodedQueryRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 47K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
), ) server.enqueue(MockResponse()) val request = Request(server.url("/")) val call = client.newCall(request) val response = call.execute() assertThat(response.request.url.encodedPath).isEqualTo("/b") assertThat(response.request.headers).isEqualTo(headersOf()) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
tlsVersion * **HandshakeCertificates**: keyManager, trustManager * **Headers**: size * **HeldCertificate**: certificate, keyPair * **HttpLoggingInterceptor**: level * **HttpUrl**: encodedFragment, encodedPassword, encodedPath, encodedPathSegments, encodedQuery, encodedUsername, fragment, host, password, pathSegments, pathSize, port, query, queryParameterNames, querySize, scheme, username
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
client = client .newBuilder() .addInterceptor( Interceptor { chain: Interceptor.Chain -> if (chain.request().url.encodedPath == "/b") { val requestA = Request .Builder() .url(server.url("/a")) .build()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 28.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
}, PATH { override fun urlString(value: String): String = "http://example.com/a${value}z/" override fun encodedValue(url: HttpUrl): String { val path = url.encodedPath return path.substring(2, path.length - 2) } override operator fun set( builder: HttpUrl.Builder, value: String, ) { builder.addPathSegment("a${value}z")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(response.body.string()).isEqualTo("This is the new location!") val request1 = server.takeRequest() assertThat(request1.url.encodedPath).isEqualTo("/") val request2 = server.takeRequest() assertThat(request2.url.encodedPath).isEqualTo("/foo") } @Test fun readAfterLastByte() { server.enqueue(MockResponse(body = "ABC"))
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 67.4K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public static final fun defaultPort (Ljava/lang/String;)I public final fun encodedFragment ()Ljava/lang/String; public final fun encodedPassword ()Ljava/lang/String; public final fun encodedPath ()Ljava/lang/String; public final fun encodedPathSegments ()Ljava/util/List; public final fun encodedQuery ()Ljava/lang/String; public final fun encodedUsername ()Ljava/lang/String;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
assertThat(connect.headers["Proxy-Authorization"]).isEqualTo(credential) assertThat(connect.url.encodedPath).isEqualTo("/") val get = server.takeRequest() assertThat(get.method).isEqualTo("GET") assertThat(get.headers["Proxy-Authorization"]).isNull() assertThat(get.url.encodedPath).isEqualTo("/foo") } @Test fun preemptiveThenReactiveProxyAuthentication() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
assertThat(requestUrl!!.scheme).isEqualTo("http") assertThat(requestUrl.host).isEqualTo(server.hostName) assertThat(requestUrl.port).isEqualTo(server.port) assertThat(requestUrl.encodedPath).isEqualTo("/a/deep/path") assertThat(requestUrl.queryParameter("key")).isEqualTo("foo bar") } @Test fun shutdownServerAfterRequest() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
minimumDeflateSize = 0L, webSocketCloseTimeout = RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS, ) val name = "MockWebServer WebSocket ${request.url.encodedPath}" webSocket.initReaderAndWriter( name = name, socket = socket, client = false, ) webSocket.loopReader(fancyResponse)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0)