返回目录
关灯 护眼
加入书架

英雄无敌 13

if(!(header_accept_encoding)){

(header_accept_encoding,encoding_gzip);

}

});

ceptor(newhttpresponseinterceptor{

rride

publicvoidprocess(httpresponseresponse,httpcontexthttpcontext),ioexception{

finalhttpentityentity=;

if(entity==null){

retu;

finalheaderencoding=ng;

if(encoding!=null){

for(headerele:){

if((”gzip”)){

(newgzipdepressingentity);

retu;

}

}

});

}

关灯 护眼
加入书架