Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for urlConnection (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. okhttp-java-net-cookiejar/README.md

    OkHttp java.net.CookieHandler
    =============================
    
    This module integrates OkHttp with `CookieHandler` from `java.net`.
    This used to be part of `okhttp-urlconnection`
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:4.12.0")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 285 bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Handler.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    import java.io.PrintStream;
    
    public class Handler extends URLStreamHandler {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/smb/Handler.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.SmbConstants;
    import jcifs.context.SingletonContext;
    
    
    /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jun 06 09:14:24 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/Handler.java

     */
    
    package jcifs.smb1.http;
    
    import java.io.IOException;
    
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    import java.net.URLStreamHandlerFactory;
    
    import java.util.HashMap;
    import java.util.Map;
    import java.util.StringTokenizer;
    
    /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/DependencyInjectingServiceLoaderTest.groovy

        }
    
        def resources(byte[] content) {
            enumeration([mockResourceUrlFor(content)])
        }
    
        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: Fri Dec 28 20:18:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
Back to top