- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for addEncodedPathSegments (0.3 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
.build() .encodedPath, ).isEqualTo("/a/b/c//d/e///f") } @Test fun addEncodedPathSegments() { val base = parse("http://host/a/b/c") assertThat( base .newBuilder() .addEncodedPathSegments("d/e/%20/\n") .build() .encodedPath as Any, ).isEqualTo("/a/b/c/d/e/%20/") } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Aug 04 07:38:48 GMT 2025 - 69.9K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
} public final class okhttp3/HttpUrl$Builder { public fun <init> ()V public final fun addEncodedPathSegment (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder; public final fun addEncodedPathSegments (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder; public final fun addEncodedQueryParameter (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
/** * Adds a set of encoded path segments separated by a slash (either `\` or `/`). If * `encodedPathSegments` starts with a slash, the resulting URL will have empty path segment. */ fun addEncodedPathSegments(encodedPathSegments: String): Builder = addPathSegments(encodedPathSegments, true) private fun addPathSegments( pathSegments: String, alreadyEncoded: Boolean, ) = apply {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 63.5K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
} public final class okhttp3/HttpUrl$Builder { public fun <init> ()V public final fun addEncodedPathSegment (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder; public final fun addEncodedPathSegments (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder; public final fun addEncodedQueryParameter (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
builder = builder.host("") builder = builder.port(0) builder = builder.addPathSegment("") builder = builder.addPathSegments("") builder = builder.addEncodedPathSegment("") builder = builder.addEncodedPathSegments("") builder = builder.setPathSegment(0, "") builder = builder.setEncodedPathSegment(0, "") builder = builder.removePathSegment(0) builder = builder.encodedPath("") builder = builder.query("")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0)