Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for http_url (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * component parts, this class implements relative URL resolution: what address you'd reach by
     * clicking a relative link on a specified page. For example:
     *
     * ```java
     * HttpUrl base = HttpUrl.parse("https://www.youtube.com/user/WatchTheDaily/videos");
     * HttpUrl link = base.resolve("../../watch?v=cbP2N1BQdYc");
     * System.out.println(link);
     * ```
     *
     * which prints:
     *
     * ```
     * https://www.youtube.com/watch?v=cbP2N1BQdYc
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  2. okhttp/api/okhttp.api

    	public final fun build ()Lokhttp3/HttpUrl;
    	public final fun encodedFragment (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun encodedPassword (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun encodedPath (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun encodedQuery (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun encodedUsername (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)
  3. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      /**
       * Given multiple '@' characters, the last one is the delimiter.
       */
      @Test
      fun authorityWithMultipleAtSigns() {
        val httpUrl = parse("http://foo@bar@baz/path")
        assertThat(httpUrl.username).isEqualTo("foo@bar")
        assertThat(httpUrl.password).isEqualTo("")
        assertThat(httpUrl).isEqualTo(parse("http://foo%40bar@baz/path"))
      }
    
      /**
       * Given multiple ':' characters, the first one is the delimiter.
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

        to configure it on that platform.
    
     *  New: `HttpUrl.addQueryParameter()` percent-escapes more characters.
        Previously several ASCII punctuation characters were not percent-escaped
        when used with this method. This does not impact already-encoded query
        parameters in APIs like `HttpUrl.parse()` and
        `HttpUrl.Builder.addEncodedQueryParameter()`.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

        }
    
        verifyClientState()
      }
    
      /**
       * Creates an [Address] of out of the provided [HttpUrl]
       * that uses this client’s DNS, TLS, and proxy configuration.
       */
      fun address(url: HttpUrl): Address {
        var useSslSocketFactory: SSLSocketFactory? = null
        var useHostnameVerifier: HostnameVerifier? = null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Connection
    import okhttp3.Cookie
    import okhttp3.Credentials.basic
    import okhttp3.EventListener
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.Interceptor
    import okhttp3.MediaType
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top