Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for pathSegments (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/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("")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.3K bytes
    - Click Count (0)
  2. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  3. 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)");
    	}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/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"
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (0)
Back to Top