读书网

繁体版 简体版
读书网 > 英雄无敌 > 9

9

章节错误,点此举报(免注册),举报后维护人员会在两分钟内校正章节内容,请耐心等待,并刷新页面。

publichttputils(intconntimeout){

httpparamsparams=newbasichttpparams;

conn);

httpconne(para);

httpconneeout(para);

connmasperroute(paraperroutebean(10));

conns(params,10);

httpconne(params,true);

httpconneize(params,1024*8);

httppro(params,_1_1);

schemeregistryschemeregistry=newschemeregistry;

sch(newscheinso,80));

sch(newscheme("https",defaultsslso,443));

httpclient=newdefaulthttpclient(newthreadsafeclientconnmanager(params,schemeregistry),params);

tryhandler(newretryhandler(default_retry_times));

eptor(newhttprequestinterceptor{

rride

publicvoidprocess(.equest,httpcontexthttpcontext),ioexception{

if(!(header_accept_encoding)){

『加入书签,方便阅读』