Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.qiniu.android.http;
 
 
 import  org.apache.http.conn.scheme.SchemeRegistry;
 import  org.apache.http.params.HttpParams;

Created by bailong on 15/7/4.
public final class ThreadSafeClientConnManager extends org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager {
    private final DnsManager dns;
    public ThreadSafeClientConnManager(HttpParams params, SchemeRegistry schregDnsManager dns) {
        super(paramsschreg);
        this. = dns;
    }
    //在父类构造函数中调用
    @Override
    protected org.apache.http.conn.ClientConnectionOperator createConnectionOperator(final SchemeRegistry schreg) {
        DnsManager d =  == null ? ..get() : ;
        return new ClientConnectionOperator(schregd);// @ThreadSafe
    }
New to GrepCode? Check out our FAQ X