com.subgraph.vega.internal.http.requests.connection.UnencodingThreadSafeClientConnectionManager.java Source code

Java tutorial

Introduction

Here is the source code for com.subgraph.vega.internal.http.requests.connection.UnencodingThreadSafeClientConnectionManager.java

Source

/*******************************************************************************
 * Copyright (c) 2011 Subgraph.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Subgraph - initial API and implementation
 ******************************************************************************/
package com.subgraph.vega.internal.http.requests.connection;

import org.apache.http.conn.ClientConnectionOperator;
import org.apache.http.conn.scheme.SchemeRegistry;
import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;

public class UnencodingThreadSafeClientConnectionManager extends ThreadSafeClientConnManager {

    public UnencodingThreadSafeClientConnectionManager(SchemeRegistry sr) {
        super(sr);
    }

    @Override
    protected ClientConnectionOperator createConnectionOperator(final SchemeRegistry sr) {
        return new UnencodingClientConnectionOperator(sr);
    }

}