Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for http_url (0.1 sec)

  1. schema/naming_test.go

    		"HTTPAndSMTP":               "http_and_smtp",
    		"HTTPServerHandlerForURLID": "http_server_handler_for_url_id",
    		"UUID":                      "uuid",
    		"HTTPURL":                   "http_url",
    		"HTTP_URL":                  "http_url",
    		"SHA256Hash":                "sha256_hash",
    		"SHA256HASH":                "sha256_hash",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. 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)
  3. docs/changelogs/upgrading_to_okhttp_4.md

    | HttpUrl.get(String)                 | String.toHttpUrl()              |
    | HttpUrl.get(URI)                    | URI.toHttpUrlOrNull()           |
    | HttpUrl.get(URL)                    | URL.toHttpUrlOrNull()           |
    | HttpUrl.parse(String)               | String.toHttpUrlOrNull()        |
    | HttpUrl.uri()                       | HttpUrl.toUri()                 |
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Request.kt

      @get:JvmName("url")
      val url: HttpUrl = checkNotNull(builder.url) { "url == null" }
    
      @get:JvmName("method")
      val method: String = builder.method
    
      @get:JvmName("headers")
      val headers: Headers = builder.headers.build()
    
      @get:JvmName("body")
      val body: RequestBody? = builder.body
    
      @get:JvmName("cacheUrlOverride")
      val cacheUrlOverride: HttpUrl? = builder.cacheUrlOverride
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/CookieJar.kt

       * [match][Cookie.matches] [url].
       */
      fun loadForRequest(url: HttpUrl): List<Cookie>
    
      companion object {
        /** A cookie jar that never accepts any cookies. */
        @JvmField
        val NO_COOKIES: CookieJar = NoCookies()
    
        private class NoCookies : CookieJar {
          override fun saveFromResponse(
            url: HttpUrl,
            cookies: List<Cookie>,
          ) {
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          override fun encodedValue(url: HttpUrl): String = url.encodedUsername
    
          override operator fun set(
            builder: HttpUrl.Builder,
            value: String,
          ) {
            builder.username(value)
          }
    
          override operator fun get(url: HttpUrl): String = url.username
        },
    
        PASSWORD {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

      @Test
      fun hostToUriStripsCharacters() {
        val httpUrl = "http://example\".com/".toHttpUrl()
        assertThat(httpUrl.toUri().toString()).isEqualTo("http://example.com/")
      }
    
      /** Confirm that URI retains other characters. https://github.com/square/okhttp/issues/5236 */
      @Test
      fun hostToUriStripsCharacters2() {
        val httpUrl = "http://\${tracker}/".toHttpUrl()
        assertThat(httpUrl.toUri().toString()).isEqualTo("http://\$tracker/")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

      }
    
      @Test @Disabled
      fun httpUrl() {
        val httpUrl: HttpUrl = HttpUrl.get("")
        val url: URL = httpUrl.url()
        val uri: URI = httpUrl.uri()
        val scheme: String = httpUrl.scheme()
        val encodedUsername: String = httpUrl.encodedUsername()
        val username: String = httpUrl.username()
        val encodedPassword: String = httpUrl.encodedPassword()
        val password: String = httpUrl.password()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        var builder: HttpUrl.Builder = httpUrl.newBuilder()
        var resolveBuilder: HttpUrl.Builder? = httpUrl.newBuilder("")
        val topPrivateDomain: String? = httpUrl.topPrivateDomain()
        val resolve: HttpUrl? = httpUrl.resolve("")
        val getFromUrl: HttpUrl? = URL("").toHttpUrlOrNull()
        val getFromUri: HttpUrl? = URI("").toHttpUrlOrNull()
        val parse: HttpUrl? = "".toHttpUrlOrNull()
        val defaultPort: Int = HttpUrl.defaultPort("")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

        encoding: UrlComponentEncodingTester.Encoding,
        component: Component,
      ) {
        val encoded = encoding.encode(codePoint)
        val httpUrl = component.urlString(encoded).toHttpUrl()
        val toAndFromJavaNetUrl = httpUrl.toUrl().toHttpUrlOrNull()
        if (toAndFromJavaNetUrl != httpUrl) {
          fail("Encoding $component $codePoint using $encoding")
        }
      }
    
      private fun testUri(
        codePoint: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top