Example usage for org.apache.commons.httpclient.protocol DefaultProtocolSocketFactory subclass-usage

List of usage examples for org.apache.commons.httpclient.protocol DefaultProtocolSocketFactory subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.httpclient.protocol DefaultProtocolSocketFactory subclass-usage.

Usage

From source file org.elasticsearch.hadoop.rest.commonshttp.SocksSocketFactory.java

class SocksSocketFactory extends DefaultProtocolSocketFactory {

    private final String socksHost;
    private final int socksPort;

    SocksSocketFactory(String socksHost, int socksPort) {

From source file org.archive.wayback.liveweb.DNSTimingProtocolSocketFactory.java

/**
 * ProtocolSocketFactory which logs the amount of time taked to do DNS lookups.
 * 
 * @author brad
 *
 */

From source file org.scohen.juploadr.upload.BandwidthLimitingProtocolSocketFactory.java

public class BandwidthLimitingProtocolSocketFactory extends DefaultProtocolSocketFactory
        implements ProtocolSocketFactory {

    private final int bandwidth;

    public BandwidthLimitingProtocolSocketFactory(int bandwidth) {

From source file test.MyProtocolSocketFactory.java

/**
 * The default class for creating protocol sockets. This class just uses the
 * {@link java.net.Socket socket} constructors.
 * 
 * @author xmx0632
 * 

From source file org.lockss.util.urlconn.LockssDefaultProtocolSocketFactory.java

/**
 * Extension of DefaultProtocolSocketFactory to set SO_KEEPALIVE, which
 * isn't handled by HttpConnection
 */
public class LockssDefaultProtocolSocketFactory extends DefaultProtocolSocketFactory {