- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for urlConnection (0.47 sec)
-
platforms/software/resources/src/main/java/org/gradle/internal/resource/UriTextResource.java
} final URLConnection urlConnection = sourceUri.toURL().openConnection(); urlConnection.setRequestProperty("User-Agent", getUserAgentString()); // Without this, the URLConnection will keep the backing Jar file open indefinitely // This will have a performance impact for Jar-backed `UriTextResource` instances if (urlConnection instanceof JarURLConnection) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderUtils.java
URLConnection urlConnection = url.openConnection(); urlConnection.setDefaultUseCaches(false); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } static Package[] getPackages(ClassLoader classLoader) { return CLASS_LOADER_PACKAGES_FETCHER.getPackages(classLoader); } @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java
import java.net.HttpURLConnection; import java.net.PasswordAuthentication; import java.net.SocketTimeoutException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.net.URLConnection; import java.util.HashMap; import java.util.Map; import java.util.Properties; public class Download implements IDownload { public static final String UNKNOWN_VERSION = "0";
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 13.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy
task checkUrlConnectionCaching { doLast { URL url = new URL("jar:file://valid_jar_url_syntax.jar!/") URLConnection urlConnection = url.openConnection() assert urlConnection.defaultUseCaches } } """ executer.requireDaemon().requireIsolatedDaemons() expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:47 UTC 2024 - 19.6K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/internal/DefaultGradleVersion.java
import org.gradle.internal.UncheckedException; import org.gradle.internal.deprecation.DeprecationLogger; import org.gradle.util.GradleVersion; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Properties; import java.util.TimeZone; import java.util.regex.Matcher; import java.util.regex.Pattern;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 11.8K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
.setBody("ABC") .clearHeaders() .addHeader("Content-Length: 4"), ) server.enqueue(MockResponse().setBody("DEF")) val urlConnection = server.url("/").toUrl().openConnection() urlConnection.setReadTimeout(1000) val inputStream = urlConnection.getInputStream() assertThat(inputStream.read()).isEqualTo('A'.code) assertThat(inputStream.read()).isEqualTo('B'.code)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
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: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
*/ package jcifs.http; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.net.MalformedURLException; import java.net.URLConnection; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Enumeration; import java.util.GregorianCalendar; import java.util.LinkedList; import java.util.ListIterator; import java.util.Properties;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java
import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Comparator; import java.util.EnumSet; import java.util.Formatter; import java.util.HashMap;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 19.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ServiceLocatorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.8K bytes - Viewed (0)