jimu-decompiled/sources/com/tencent/wxop/stat/j.java
2025-05-13 19:24:51 +02:00

24 lines
775 B
Java

package com.tencent.wxop.stat;
import org.apache.http.HttpResponse;
import org.apache.http.impl.client.DefaultConnectionKeepAliveStrategy;
import org.apache.http.protocol.HttpContext;
/* loaded from: classes.dex */
class j extends DefaultConnectionKeepAliveStrategy {
final /* synthetic */ i a;
j(i iVar) {
this.a = iVar;
}
@Override // org.apache.http.impl.client.DefaultConnectionKeepAliveStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy
public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) {
long keepAliveDuration = super.getKeepAliveDuration(httpResponse, httpContext);
if (keepAliveDuration == -1) {
return 30000L;
}
return keepAliveDuration;
}
}