- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setEncodedPathSegment (0.12 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
val base = parse("http://host/a/b/c") assertThat(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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 63.5K bytes - Viewed (0) -
okhttp/api/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0)