- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addPathSegment (0.09 sec)
-
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
return path.substring(2, path.length - 2) } override operator fun set( builder: HttpUrl.Builder, value: String, ) { builder.addPathSegment("a${value}z") } override operator fun get(url: HttpUrl): String { val pathSegment = url.pathSegments[0] return pathSegment.substring(1, pathSegment.length - 1) } },
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
} @Test fun toUriPathSpecialCharacters() { val url = HttpUrl.Builder() .scheme("http") .host("host") .addPathSegment("=[]:;\"~|?#@^/$%*") .build() assertThat(url.toString()) .isEqualTo("http://host/=[]:;%22~%7C%3F%23@%5E%2F$%25*") assertThat(url.toUri().toString())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
builder = builder.encodedUsername("") builder = builder.password("") builder = builder.encodedPassword("") builder = builder.host("") builder = builder.port(0) builder = builder.addPathSegment("") builder = builder.addPathSegments("") builder = builder.addEncodedPathSegment("") builder = builder.addEncodedPathSegments("") builder = builder.setPathSegment(0, "")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0)