- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for urlConnection (0.15 sec)
-
okhttp-urlconnection/README.md
OkHttp URLConnection ==================== This module integrates OkHttp with `Authenticator` and `CookieHandler` from `java.net`. This module is obsolete; prefer `okhttp-java-net-cookiejar`. ### Download ```kotlin testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.12.0")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 293 bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/internal/installation/CurrentGradleInstallationLocatorTest.groovy
// This is to prevent the jar file being held open URL url = new URL("jar:file://valid_jar_url_syntax.jar!/") URLConnection urlConnection = url.openConnection() def original = urlConnection.getDefaultUseCaches() urlConnection.setDefaultUseCaches(false) try { URL[] urls = [new URL("jar:${jar.toURI().toURL()}!/")] as URL[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceLocator.java
} private List<String> extractImplementationClassNames(URL resource) throws IOException { URLConnection urlConnection = resource.openConnection(); if (!useCaches && urlConnection instanceof JarURLConnection) { urlConnection.setUseCaches(false); } InputStream inputStream = urlConnection.getInputStream(); try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 8.3K bytes - Viewed (0) -
okhttp-urlconnection/build.gradle.kts
} project.applyOsgi( "Fragment-Host: com.squareup.okhttp3; bundle-version=\"\${range;[==,+);\${version_cleanup;${projects.okhttp.version}}}\"", "Automatic-Module-Name: okhttp3.urlconnection", "Bundle-SymbolicName: com.squareup.okhttp3.urlconnection", "-removeheaders: Private-Package" ) dependencies { api(projects.okhttp) api(projects.okhttpJavaNetCookiejar) compileOnly(libs.findbugs.jsr305)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Nov 20 16:20:29 UTC 2023 - 764 bytes - Viewed (0) -
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/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClasspathInferer.java
// To determine the dependencies of the class, load up the byte code and look for CONSTANT_Class entries in the constant pool ClassReader reader; URLConnection urlConnection = resource.openConnection(); if (urlConnection instanceof JarURLConnection) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 5.9K 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) -
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.zip; import java.io.File; import java.io.IOException; import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; import junit.framework.TestCase; /** * @author koichik */ public class ZipFileUtilTest extends TestCase { /** * @throws Exception */
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/MimeTypeUtil.java
final InputStream is = ResourceUtil.getResourceAsStream(path); try { final String mimetype = URLConnection.guessContentTypeFromStream(is); if (mimetype != null) { return mimetype; } return URLConnection.guessContentTypeFromName(path); } catch (final IOException e) { throw new IORuntimeException(e); } finally {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/transfer/UrlExternalResource.java
import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.net.URLConnection; import java.util.List; public class UrlExternalResource extends AbstractExternalResourceAccessor implements ExternalResourceConnector { public static ExternalResource open(URL url) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.2K bytes - Viewed (0)