Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for removePathSegment (0.07 sec)

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

        val base = parse("http://host/a/b/c")
        val url =
          base
            .newBuilder()
            .removePathSegment(0)
            .removePathSegment(0)
            .removePathSegment(0)
            .build()
        assertThat(url.pathSegments).containsExactly("")
        assertThat(url.encodedPath).isEqualTo("/")
      }
    
      @Test
      fun removePathSegmentOutOfBounds() {
        assertFailsWith<IndexOutOfBoundsException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  2. okhttp/api/jvm/okhttp.api

    	public final fun removeAllEncodedQueryParameters (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun removeAllQueryParameters (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun removePathSegment (I)Lokhttp3/HttpUrl$Builder;
    	public final fun scheme (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun setEncodedPathSegment (ILjava/lang/String;)Lokhttp3/HttpUrl$Builder;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  3. okhttp/api/android/okhttp.api

    	public final fun removeAllEncodedQueryParameters (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun removeAllQueryParameters (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun removePathSegment (I)Lokhttp3/HttpUrl$Builder;
    	public final fun scheme (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun setEncodedPathSegment (ILjava/lang/String;)Lokhttp3/HttpUrl$Builder;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top