Example usage for java.net URLConnection subclass-usage

List of usage examples for java.net URLConnection subclass-usage

Introduction

In this page you can find the example usage for java.net URLConnection subclass-usage.

Usage

From source file org.opennms.protocols.http.HttpUrlConnection.java

    /** The HTTP Client. */
    private HttpClientWrapper m_clientWrapper;

    /**
     * Instantiates a new SFTP URL connection.
     *

From source file org.pentaho.webpackage.deployer.WebPackageURLConnection.java

public class WebPackageURLConnection extends java.net.URLConnection {

    private static final ExecutorService EXECUTOR = Executors.newFixedThreadPool(5, r -> {
        Thread thread = Executors.defaultThreadFactory().newThread(r);
        thread.setDaemon(true);
        thread.setName("WebjarsURLConnection pool");

From source file org.orbeon.oxf.resources.handler.HTTPURLConnection.java

public class HTTPURLConnection extends URLConnection {

    public static String STALE_CHECKING_ENABLED_PROPERTY = "oxf.http.stale-checking-enabled";
    public static String SO_TIMEOUT_PROPERTY = "oxf.http.so-timeout";
    public static String PROXY_HOST_PROPERTY = "oxf.http.proxy.host";
    public static String PROXY_PORT_PROPERTY = "oxf.http.proxy.port";

From source file org.opennms.netmgt.provision.service.dns.DnsRequisitionUrlConnection.java

/**
 * Implementation of <code>java.net.URLConnection</code> for handling
 * URLs specified in the Provisiond configuration requesting an import
 * requisition based on the A records of a zone transfer for a DNS server.
 *
 * @author <a href="mailto:david@opennms.org">David Hustace</a>

From source file org.pentaho.osgi.platform.webjars.WebjarsURLConnection.java

/**
 * Created by nbaker on 9/6/14.
 */
public class WebjarsURLConnection extends URLConnection {

    private static final ExecutorService EXECUTOR = Executors.newFixedThreadPool(5, r -> {

From source file ZipURLStreamHandler.java

/**
 * A <code>URLConnection</code> which loads its content from a specified zip
 * entry within a local file.
 */

class ZipURLConnection extends URLConnection {

From source file DummyAppletContext.java

class DummyURLConnection extends URLConnection {

    boolean connected = false;
    InputStream instream;

    /*