- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for topPrivateDomain (0.08 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val redact: String = httpUrl.redact() 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()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
* * In general this method **should not** be used to test whether a domain is valid or routable. * Instead, DNS is the recommended source for that information. * * | URL | `topPrivateDomain()` | * | :---------------------------- | :------------------- | * | `http://google.com` | `"google.com"` | * | `http://adwords.google.co.uk` | `"google.co.uk"` |
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 63.5K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public final fun redact ()Ljava/lang/String; public final fun resolve (Ljava/lang/String;)Lokhttp3/HttpUrl; public final fun scheme ()Ljava/lang/String; public fun toString ()Ljava/lang/String; public final fun topPrivateDomain ()Ljava/lang/String; public final fun uri ()Ljava/net/URI; public final fun url ()Ljava/net/URL; public final fun username ()Ljava/lang/String; } public final class okhttp3/HttpUrl$Builder {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public final fun redact ()Ljava/lang/String; public final fun resolve (Ljava/lang/String;)Lokhttp3/HttpUrl; public final fun scheme ()Ljava/lang/String; public fun toString ()Ljava/lang/String; public final fun topPrivateDomain ()Ljava/lang/String; public final fun uri ()Ljava/net/URI; public final fun url ()Ljava/net/URL; public final fun username ()Ljava/lang/String; } public final class okhttp3/HttpUrl$Builder {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
cookies on top-level domains like `co.uk` because our cookie parser didn't honor the [public suffix][public_suffix] list. Alongside this fix is a new API, `HttpUrl.topPrivateDomain()`, which returns the privately domain name if the URL has one. * Fix: Change `MediaType.charset()` to return null for unexpected charsets.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0)