Android Open Source - Orlib My Thread Safe Client Conn Manager

From Project

Back to project page Orlib.


The source code is released under:

GNU Lesser General Public License

If you think the Android project Orlib listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*w ww  . ja  va  2s  .  co m*/
import org.apache.http.conn.ClientConnectionOperator;
import org.apache.http.conn.scheme.SchemeRegistry;
import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
import org.apache.http.params.HttpParams;

public class MyThreadSafeClientConnManager extends ThreadSafeClientConnManager {

  public MyThreadSafeClientConnManager(HttpParams params, SchemeRegistry schreg) {
    super(params, schreg);

  protected ClientConnectionOperator createConnectionOperator(
      SchemeRegistry schreg) {
    return new MyDefaultClientConnectionOperator(schreg);

Java Source Code List