- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 51 for urlconnection (0.05 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
.build(), ) server.enqueue( MockResponse .Builder() .body("DEF") .build(), ) val urlConnection = server.url("/").toUrl().openConnection() urlConnection!!.readTimeout = 1000 val inputStream = urlConnection.getInputStream() assertThat(inputStream!!.read()).isEqualTo('A'.code) assertThat(inputStream.read()).isEqualTo('B'.code)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
"com.squareup.okhttp3.dnsoverhttps", "com.squareup.okhttp3.logging", "com.squareup.okhttp3.sse", "com.squareup.okhttp3.tls", "com.squareup.okhttp3.urlconnection", ) /** Equinox must also be on the testing classpath. */ private const val RESOLVE_OSGI_FRAMEWORK = "org.eclipse.osgi" private const val RESOLVE_JAVA_VERSION = "JavaSE-1.8"
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
*/ @Override public String toString() { return Strings.maskSecretValue(url.toString()); } /* URLConnection implementation */ /** * This URLConnection method just returns the result of {@code length()}. * * @return the length of this file or 0 if it refers to a directory */ @Deprecated @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
README.md
- okhttp3 - okhttp3.brotli - okhttp3.coroutines - okhttp3.dnsoverhttps - okhttp3.java.net.cookiejar - okhttp3.logging - okhttp3.sse - okhttp3.tls - okhttp3.urlconnection - mockwebserver3 - mockwebserver3.junit4 - mockwebserver3.junit5 License ------- ``` Copyright 2019 Square, Inc. Licensed under the Apache License, Version 2.0 (the "License");
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
`multipart/mixed; boundary="abc"`. * New: `Authenticator.JAVA_NET_AUTHENTICATOR` forwards authentication requests to `java.net.Authenticator`. This obsoletes `JavaNetAuthenticator` in the `okhttp-urlconnection` module. * New: `CertificatePinner` now offers an API for inspecting the configured pins. * Upgrade: [Okio 2.6.0][okio_2_6_0]. ```kotlin implementation("com.squareup.okio:okio:2.6.0")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
* **The Apache HTTP client and HttpURLConnection APIs are deprecated.** They continue to work as they always have, but we're moving everything to the new OkHttp 3 API. The `okhttp-apache` and `okhttp-urlconnection` modules should be only be used to accelerate a transition to OkHttp's request/response API. These deprecated modules will be dropped in an upcoming OkHttp 3.x release.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
call.cancel() assertFailsWith<IOException> { call.execute() } } @Test fun defaultRequestProperty() { URLConnection.setDefaultRequestProperty("X-testSetDefaultRequestProperty", "A") assertThat(URLConnection.getDefaultRequestProperty("X-setDefaultRequestProperty")).isNull() } /** * Reads `count` characters from the stream. If the stream is exhausted before `count`
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
gradle/wrapper/gradle-wrapper.jar
convertSystemPropert(java.util.Properties); public void Download(Logger, java.util.HashMap, int); public static java.net.URI safeUri(java.net.URI); public final void configureProxyAuthen(); public final void addBasicAuthenticati(java.net.URI, java.net.URLConnection); public final String calculateUserAgent(); } org/gradle/wrapper/GradleUserHomeLookup.class package org.gradle.wrapper; public abstract class GradleUserHomeLookup { public static final String DEFAULT_GRADLE_USER_HOME; static void <clinit>(); }...
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 01:56:29 UTC 2025 - 44.6K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
} }); } /** * Perform the actual reconnection logic. * This method should be overridden by subclasses to provide the actual * SMB reconnection implementation. * * @param info the handle information * @return true if reconnection was successful * @throws Exception if reconnection fails */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
} return null; } finally { lock.readLock().unlock(); } } /** * Complete a reconnection attempt * @param path the file path * @param success true if reconnection was successful */ public void completeReconnect(String path, boolean success) { lock.writeLock().lock(); try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0)