Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addPathSegment (0.05 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

          base.newBuilder()
            .addPathSegment("")
            .build().encodedPath,
        )
          .isEqualTo("/a/b/c/")
        assertThat(
          base.newBuilder()
            .addPathSegment("")
            .addPathSegment("d")
            .build().encodedPath,
        )
          .isEqualTo("/a/b/c/d")
        assertThat(
          base.newBuilder()
            .addPathSegment("..")
            .build().encodedPath,
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * Google search:
     *
     * ```java
     * HttpUrl url = new HttpUrl.Builder()
     *     .scheme("https")
     *     .host("www.google.com")
     *     .addPathSegment("search")
     *     .addQueryParameter("q", "polar bears")
     *     .build();
     * System.out.println(url);
     * ```
     *
     * which prints:
     *
     * ```
     * https://www.google.com/search?q=polar%20bears
     * ```
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    	public final fun addEncodedPathSegments (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun addEncodedQueryParameter (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun addPathSegment (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun addPathSegments (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun addQueryParameter (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)
Back to top