Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for HTTPURL (0.06 sec)

  1. okhttp/api/jvm/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

    import java.io.IOException
    import java.net.Inet6Address
    import java.net.ProtocolException
    import mockwebserver3.RecordedRequest
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okio.ByteString
    
    internal fun RecordedRequest(
      requestLine: RequestLine,
      headers: Headers,
      chunkSizes: List<Int>?,
      bodySize: Long,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        return KnownLengthSink()
      }
    
      private fun newFixedLengthSource(
        url: HttpUrl,
        length: Long,
      ): Source {
        check(state == STATE_OPEN_RESPONSE_BODY) { "state: $state" }
        state = STATE_READING_RESPONSE_BODY
        return FixedLengthSource(url, length)
      }
    
      private fun newChunkedSource(url: HttpUrl): Source {
        check(state == STATE_OPEN_RESPONSE_BODY) { "state: $state" }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  5. okhttp/api/android/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  6. android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt

        Platform.resetForTests()
        PlatformRegistry.applicationContext = null
      }
    
      @Test
      fun testWithoutContext() {
        val httpUrl = "https://www.google.co.uk".toHttpUrl()
        assertFailure { httpUrl.topPrivateDomain() }.all {
          hasMessage("Unable to load PublicSuffixDatabase.list resource.")
          cause().isNotNull().all {
            hasMessage(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 16:25:39 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    import kotlin.text.Charsets.UTF_32LE
    import kotlin.text.Charsets.UTF_8
    import kotlin.time.Duration
    import okhttp3.Dispatcher
    import okhttp3.EventListener
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.HttpUrl.Companion.defaultPort
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.BufferedSource
    import okio.Source
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  9. android-test-app/src/androidTest/kotlin/okhttp/android/testapp/IdnaTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.android
    
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.Assert.assertEquals
    import org.junit.Test
    
    class IdnaTest {
      @Test
      fun testHostnameFunction() {
        assertEquals("xn--n3h.net", "https://☃.net/robots.txt".toHttpUrl().host)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 19:38:06 UTC 2025
    - 869 bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

     */
    
    package okhttp3.logging
    
    import java.io.IOException
    import java.nio.charset.Charset
    import java.util.TreeSet
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.internal.charsetOrUtf8
    import okhttp3.internal.http.promisesBody
    import okhttp3.internal.platform.Platform
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top