- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Username (0.16 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(httpUrl.username).isEqualTo("foo") assertThat(httpUrl.password).isEqualTo("pass1@bar:pass2") assertThat(httpUrl).isEqualTo(parse("http://foo:pass1%40bar%3Apass2@baz/path")) } @Test fun usernameAndPassword() { assertThat(parse("http://username:password@host/path")) .isEqualTo(parse("http://username:password@host/path"))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
/** * The decoded username, or an empty string if none is present. * * | URL | `username()` | * | :------------------------------- | :----------- | * | `http://host/` | `""` | * | `http://username@host/` | `"username"` | * | `http://username:password@host/` | `"username"` | * | `http://a%20b:c%20d@host/` | `"a b"` |
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
okhttp/api/okhttp.api
public final fun -deprecated_scheme ()Ljava/lang/String; public final fun -deprecated_uri ()Ljava/net/URI; public final fun -deprecated_url ()Ljava/net/URL; public final fun -deprecated_username ()Ljava/lang/String;
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 70.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
body = "Please authenticate.", ), ) server.enqueue( MockResponse(body = "Successful auth!"), ) val credential = basic("username", "password") client = client.newBuilder() .authenticator(RecordingOkAuthenticator(credential, "Basic")) .build() val call = client.newCall(Request(server.url("/")))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0)