- Sort Score
- Result 10 results
- Languages All
Results 21 - 26 of 26 for urlConnection (0.17 sec)
-
subprojects/core/src/test/groovy/org/gradle/initialization/GradleApiSpecAggregatorTest.groovy
def resources(byte[] ... content) { enumeration(content.collect { mockResourceUrlFor(it) }) } private URL mockResourceUrlFor(byte[] contents) { URLStreamHandler handler = Mock() URLConnection connection = Mock() URL url = new URL("custom", "host", 12, "file", handler) _ * handler.openConnection(url) >> connection _ * connection.getInputStream() >> new ByteArrayInputStream(contents)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 26 05:36:10 UTC 2018 - 3K bytes - Viewed (0) -
settings.gradle.kts
include(":okhttp-idna-mapping-table") include(":okhttp-java-net-cookiejar") include(":okhttp-logging-interceptor") include(":okhttp-sse") include(":okhttp-testing-support") include(":okhttp-tls") include(":okhttp-urlconnection") include(":samples:compare") include(":samples:crawler") include(":samples:guide") include(":samples:simple-client") include(":samples:slack") include(":samples:static-server") include(":samples:tlssurvey")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Apr 14 14:24:05 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.JarURLConnection; import java.net.URL; import java.net.URLConnection; import java.util.jar.JarFile; import java.util.zip.ZipEntry; import org.codelibs.core.exception.IORuntimeException; import org.codelibs.core.io.FileUtil; import org.codelibs.core.log.Logger;
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/BuildActionCrossVersionSpec.groovy
// sun.net.www.protocol.jar.JarURLConnection leaves the JarFile instance open if URLConnection caching is enabled. new URL("jar:file://valid_jar_url_syntax.jar!/").openConnection().setDefaultUseCaches(false) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.9K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
.setDirectExecutorAllowed(true) .setTrafficStatsTag(101) .build() req.start() return completableFuture } @Test fun urlConnection() { val conn = engine.openConnection(URL("https://google.com/robots.txt")) as HttpURLConnection val text = conn.inputStream.use { it.bufferedReader().readText() }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Mar 24 13:19:43 UTC 2024 - 6.2K bytes - Viewed (0) -
okhttp/src/test/java/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: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.9K bytes - Viewed (0)