- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setEncodedPathSegment (0.09 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
base .newBuilder() .setEncodedPathSegment(0, "%25") .build() .encodedPath, ).isEqualTo("/%25/b/c") } @Test fun setEncodedPathSegmentRejectsDot() { val base = parse("http://host/a/b/c") assertFailsWith<IllegalArgumentException> { base.newBuilder().setEncodedPathSegment(0, ".") } } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
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("") builder = builder.encodedQuery("") builder = builder.addQueryParameter("", "")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public final fun removePathSegment (I)Lokhttp3/HttpUrl$Builder; public final fun scheme (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder; public final fun setEncodedPathSegment (ILjava/lang/String;)Lokhttp3/HttpUrl$Builder; public final fun setEncodedQueryParameter (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
"unexpected path segment: $pathSegment" } encodedPathSegments[index] = canonicalPathSegment } fun setEncodedPathSegment( index: Int, encodedPathSegment: String, ) = apply { val canonicalPathSegment = encodedPathSegment.canonicalize( encodeSet = PATH_SEGMENT_ENCODE_SET,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
okhttp/api/android/okhttp.api
public final fun removePathSegment (I)Lokhttp3/HttpUrl$Builder; public final fun scheme (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder; public final fun setEncodedPathSegment (ILjava/lang/String;)Lokhttp3/HttpUrl$Builder; public final fun setEncodedQueryParameter (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0)