Example usage for java.net HttpURLConnection subclass-usage

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

Introduction

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

Usage

From source file com.android.volley.mock.MockHttpURLConnection.java

public class MockHttpURLConnection extends HttpURLConnection {

    private boolean mDoOutput;
    private String mRequestMethod;
    private OutputStream mOutputStream;

From source file org.apache.hadoop.hdfs.MockHttpURLConnection.java

class MockHttpURLConnection extends HttpURLConnection {
    MockURL m;

    public MockHttpURLConnection(URL u, MockURL m) {
        super(u);
        this.m = m;

From source file org.nuxeo.ecm.core.opencmis.impl.client.protocol.http.HttpURLConnection.java

public class HttpURLConnection extends java.net.HttpURLConnection {

    protected final HttpURLClientProvider clientProvider;

    protected HttpMethod method;

From source file org.apache.cactus.internal.client.connector.http.AutoReadHttpURLConnection.java

/**
 * Wrapper class for the real <code>HttpURLConnection</code> to the test servlet
 * that reads the complete input stream into an internal buffer on
 * the first call to getInputStream(). This is to ensure that the test servlet
 * is not blocked on i/o when the test caller asks for the results.
 * <p>

From source file com.maverick.ssl.https.HttpsURLConnection.java

/**
 * 
 * @author Lee David Painter <a href="mailto:lee@localhost">&lt;lee@localhost&gt;</a>
 */
public class HttpsURLConnection extends HttpURLConnection {

From source file ste.xtest.net.StubURLConnection.java

/**
 *
 * @author ste
 * 
 * @TODO: getInputStream shall return a correct input stream accordingly to the 
 *        content type

From source file com.microsoft.tfs.core.httpclient.util.HttpURLConnection.java

/**
 * Provides a <code>HttpURLConnection</code> wrapper around HttpClient's
 * <code>HttpMethod</code>. This allows existing code to easily switch to
 * HttpClieht without breaking existing interfaces using the JDK
 * <code>HttpURLConnection</code>.
 *

From source file com.machinepublishers.jbrowserdriver.StreamConnection.java

class StreamConnection extends HttpURLConnection implements Closeable {
    private static final CookieStore cookieStore = (CookieStore) CookieManager.getDefault();
    private static final File attachmentsDir;
    private static final File mediaDir;
    static {
        File attachmentsDirTmp = null;