Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for encodedPath (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        // next line
        assertThat(parse("http://h/\u0085").encodedPath).isEqualTo("/%C2%85")
        // non-breaking space
        assertThat(parse("http://h/\u00a0").encodedPath).isEqualTo("/%C2%A0")
        // ogham space mark
        assertThat(parse("http://h/\u1680").encodedPath).isEqualTo("/%E1%9A%80")
        // mongolian vowel separator
        assertThat(parse("http://h/\u180e").encodedPath).isEqualTo("/%E1%A0%8E")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Aug 04 07:38:48 GMT 2025
    - 69.9K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

              encodedPathSegments.add("") // Always leave at least one '/'.
            }
          }
    
        fun encodedPath(encodedPath: String) =
          apply {
            require(encodedPath.startsWith("/")) { "unexpected encodedPath: $encodedPath" }
            resolvePath(encodedPath, 0, encodedPath.length)
          }
    
        fun query(query: String?) =
          apply {
            this.encodedQueryNamesAndValues =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val password: String = httpUrl.password
        val host: String = httpUrl.host
        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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  4. okhttp/api/jvm/okhttp.api

    	public static final fun defaultPort (Ljava/lang/String;)I
    	public final fun encodedFragment ()Ljava/lang/String;
    	public final fun encodedPassword ()Ljava/lang/String;
    	public final fun encodedPath ()Ljava/lang/String;
    	public final fun encodedPathSegments ()Ljava/util/List;
    	public final fun encodedQuery ()Ljava/lang/String;
    	public final fun encodedUsername ()Ljava/lang/String;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  5. okhttp/api/android/okhttp.api

    	public static final fun defaultPort (Ljava/lang/String;)I
    	public final fun encodedFragment ()Ljava/lang/String;
    	public final fun encodedPassword ()Ljava/lang/String;
    	public final fun encodedPath ()Ljava/lang/String;
    	public final fun encodedPathSegments ()Ljava/util/List;
    	public final fun encodedQuery ()Ljava/lang/String;
    	public final fun encodedUsername ()Ljava/lang/String;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response.body.string()).isEqualTo("This is the new location!")
        val request1 = server.takeRequest()
        assertThat(request1.url.encodedPath).isEqualTo("/")
        val request2 = server.takeRequest()
        assertThat(request2.url.encodedPath).isEqualTo("/foo")
      }
    
      @Test
      fun readAfterLastByte() {
        server.enqueue(MockResponse(body = "ABC"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  7. cmd/test-utils_test.go

    	signedHeaders := strings.Join(headers, ";")
    
    	// Get canonical query string.
    	req.URL.RawQuery = strings.ReplaceAll(req.URL.Query().Encode(), "+", "%20")
    
    	// Get canonical URI.
    	canonicalURI := s3utils.EncodePath(req.URL.Path)
    
    	// Get canonical request.
    	// canonicalRequest =
    	//  <HTTPMethod>\n
    	//  <CanonicalURI>\n
    	//  <CanonicalQueryString>\n
    	//  <CanonicalHeaders>\n
    	//  <SignedHeaders>\n
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
Back to Top