Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toJavaNetUrl (0.08 sec)

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

        assertThat(uri.toHttpUrlOrNull()).isNull()
      }
    
      @Test
      fun fromUriPartial() {
        val uri = URI("/path")
        assertThat(uri.toHttpUrlOrNull()).isNull()
      }
    
      @Test
      fun toJavaNetUrl() {
        val httpUrl = "http://username:password@host/path?query#fragment".toHttpUrl()
        val javaNetUrl = httpUrl.toUrl()
        assertThat(javaNetUrl.toString())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top