- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 113 for HttpUrl (0.03 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
import java.net.HttpURLConnection.HTTP_NO_CONTENT import java.util.Collections import okhttp3.Challenge import okhttp3.Cookie import okhttp3.CookieJar import okhttp3.Headers import okhttp3.HttpUrl import okhttp3.Response import okhttp3.internal.headersContentLength import okhttp3.internal.platform.Platform import okhttp3.internal.skipAll import okio.Buffer import okio.ByteString.Companion.encodeUtf8
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Aug 03 19:38:06 UTC 2025 - 869 bytes - Viewed (0) -
okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java
private OkHttpClient client = clientTestRule.newClient(); @Test public void tagsSeededFromRequest() { Request request = new Request.Builder() .url(HttpUrl.get("https://square.com/")) .tag(Integer.class, 5) .tag(String.class, "hello") .build(); Call call = client.newCall(request); assertEquals(5, call.tag(Integer.class));
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Oct 26 14:54:46 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
} } override fun proxySelectStart( call: Call, url: HttpUrl, ) { for (delegate in eventListeners) { delegate.proxySelectStart(call, url) } } override fun proxySelectEnd( call: Call, url: HttpUrl, proxies: List<@JvmSuppressWildcards Proxy>, ) { for (delegate in eventListeners) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:03:04 UTC 2025 - 24.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RequestLine.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http import java.net.Proxy import okhttp3.HttpUrl import okhttp3.Request object RequestLine { /** * Returns the request status line, like "GET / HTTP/1.1". This is exposed to the application byRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Jun 17 00:47:36 UTC 2025 - 1.9K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
* limitations under the License. */ package mockwebserver3 import java.io.IOException import okhttp3.Handshake import okhttp3.Headers import okhttp3.HttpUrl import okio.ByteString /** An HTTP request that came into the mock web server. */ public class RecordedRequest( /** * The index of the socket connection that carried this request. If two recorded requests share a
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 3.2K bytes - Viewed (1) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
System.out.printf("%04d %.3f %s%n", callId, elapsedNanos / 1000000000d, name); } @Override public void proxySelectStart(Call call, HttpUrl url) { printEvent("proxySelectStart"); } @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) { printEvent("proxySelectEnd"); } @Override public void callStart(Call call) { printEvent("callStart");
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
android-test-app/src/androidTest/kotlin/okhttp/android/testapp/PublicSuffixDatabaseTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.android import assertk.assertThat import assertk.assertions.isEqualTo import okhttp3.HttpUrl.Companion.toHttpUrl import org.junit.Test /** * Run with "./gradlew :android-test-app:connectedCheck -PandroidBuild=true" and make sure ANDROID_SDK_ROOT is set. */ class PublicSuffixDatabaseTest { @Test
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1K bytes - Viewed (0) -
mockwebserver/api/mockwebserver3.api
public fun <init> (IILokhttp3/Handshake;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lokhttp3/HttpUrl;Lokhttp3/Headers;Lokio/ByteString;JLjava/util/List;Ljava/io/IOException;)V public synthetic fun <init> (IILokhttp3/Handshake;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lokhttp3/HttpUrl;Lokhttp3/Headers;Lokio/ByteString;JLjava/util/List;Ljava/io/IOException;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.8K bytes - Viewed (0)