- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for urlConnection (0.25 sec)
-
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/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) -
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/core-runtime/gradle-cli-main/src/main/java/org/gradle/internal/jvm/GradleVersionNumberLoader.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.jvm; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import java.util.Properties; import static java.lang.String.format; public class GradleVersionNumberLoader { private static final String RESOURCE_NAME = "org/gradle/build-receipt.properties";
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
import io.minio.errors.XmlParserException; public class Handler extends URLStreamHandler { @Override protected URLConnection openConnection(final URL u) throws IOException { return new StorageURLConnection(u); } public class StorageURLConnection extends URLConnection { private MinioClient minioClient; private String bucketName; private String objectName;
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* @return URLへの{@link URLConnection}オブジェクト */ public static URLConnection openConnection(final URL url) { assertArgumentNotNull("url", url); try { final URLConnection connection = url.openConnection(); connection.setUseCaches(false); return connection; } catch (final IOException e) { throw new IORuntimeException(e); } }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
*/ package org.codelibs.core.net; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import java.net.URLConnection; import org.codelibs.core.exception.EmptyArgumentException; import org.codelibs.core.io.ResourceUtil; import org.codelibs.core.lang.ClassUtil; import org.junit.Rule; import org.junit.Test;
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K 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)