- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for pathSegments (0.26 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(parse("http://host/a/%F0%9F%8D%A9/c").pathSegments) .containsExactly("a", "\uD83C\uDF69", "c") assertThat(parse("http://host/a/%62/c").pathSegments) .containsExactly("a", "b", "c") assertThat(parse("http://host/a/%7A/c").pathSegments) .containsExactly("a", "z", "c") assertThat(parse("http://host/a/%7a/c").pathSegments) .containsExactly("a", "z", "c") } @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/main/kotlin/okhttp3/HttpUrl.kt
private fun addPathSegments( pathSegments: String, alreadyEncoded: Boolean, ) = apply { var offset = 0 do { val segmentEnd = pathSegments.delimiterOffset("/\\", offset, pathSegments.length) val addTrailingSlash = segmentEnd < pathSegments.length push(pathSegments, offset, segmentEnd, addTrailingSlash, alreadyEncoded)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 63.5K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
* **HeldCertificate**: certificate, keyPair * **HttpLoggingInterceptor**: level * **HttpUrl**: encodedFragment, encodedPassword, encodedPath, encodedPathSegments, encodedQuery, encodedUsername, fragment, host, password, pathSegments, pathSize, port, query, queryParameterNames, querySize, scheme, username * **MockResponse**: headers, http2ErrorCode, socketPolicy, status, trailers
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
lib/wasm/wasm_exec.js
pid: -1, ppid: -1, umask() { throw enosys(); }, cwd() { throw enosys(); }, chdir() { throw enosys(); }, } } if (!globalThis.path) { globalThis.path = { resolve(...pathSegments) { return pathSegments.join("/"); } } } if (!globalThis.crypto) { throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)"); }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 16.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
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.encodedQuery() val query: String? = httpUrl.query() val querySize: Int = httpUrl.querySize() val queryParameter: String? = httpUrl.queryParameter("")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
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) } }, QUERY { override fun urlString(value: String): String = "http://example.com/?a${value}z"
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/KotlinSourceModernTest.kt
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.encodedQuery val query: String? = httpUrl.query val querySize: Int = httpUrl.querySize val queryParameter: String? = httpUrl.queryParameter("")
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/api/okhttp.api
public final fun newBuilder (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder; public static final fun parse (Ljava/lang/String;)Lokhttp3/HttpUrl; public final fun password ()Ljava/lang/String; public final fun pathSegments ()Ljava/util/List; public final fun pathSize ()I public final fun port ()I public final fun query ()Ljava/lang/String; public final fun queryParameter (Ljava/lang/String;)Ljava/lang/String;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0)