/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.common.http.GenericHttpClient
 *  com.l7tech.common.http.GenericHttpClientFactory
 *  com.l7tech.common.http.HttpProxyConfig
 *  org.jetbrains.annotations.Nullable
 */
package com.l7tech.server.globalresources;

import com.l7tech.common.http.GenericHttpClient;
import com.l7tech.common.http.GenericHttpClientFactory;
import com.l7tech.common.http.HttpProxyConfig;
import com.l7tech.server.globalresources.HttpConfigurationCache;
import com.l7tech.server.globalresources.b;
import org.jetbrains.annotations.Nullable;

abstract class c
implements GenericHttpClientFactory {
    private final HttpConfigurationCache a;
    private final boolean b;

    public GenericHttpClient createHttpClient() {
        return this.a(this.a(-1, -1, null));
    }

    public GenericHttpClient createHttpClient(int n2, int n3, int n4, int n5, int n6, Object object, @Nullable HttpProxyConfig httpProxyConfig) {
        return this.a(this.a(n4, n5, httpProxyConfig));
    }

    c(HttpConfigurationCache httpConfigurationCache, boolean bl2) {
        this.a = httpConfigurationCache;
        this.b = bl2;
    }

    abstract GenericHttpClient a(int var1, int var2, @Nullable HttpProxyConfig var3);

    GenericHttpClient a(GenericHttpClient genericHttpClient) {
        return new b(genericHttpClient, this.a, this.b);
    }
}

