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

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

Introduction

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

Usage

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

/**
 * Class used to make sure the SOCKS protocol object is behaving like the original one.
 * Otherwise this leads to connections not being closed (as they are considered different).
 */
class SocksProtocol extends Protocol {

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

/**
 * Class used to make sure wrapped protocol object is behaving like the original one.
 * Otherwise this leads to connections not being closed (as they are considered different).
 */
class DelegatedProtocol extends Protocol {