/*
 * 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.GenericHttpRequest
 *  com.l7tech.common.http.GenericHttpResponse
 *  com.l7tech.common.http.HttpProxyConfig
 *  org.jetbrains.annotations.Nullable
 */
package com.l7tech.server.communityschemas;

import com.l7tech.common.http.GenericHttpClient;
import com.l7tech.common.http.GenericHttpClientFactory;
import com.l7tech.common.http.GenericHttpRequest;
import com.l7tech.common.http.GenericHttpResponse;
import com.l7tech.common.http.HttpProxyConfig;
import com.l7tech.server.communityschemas.HttpSchemaSourceResolver;
import com.l7tech.server.communityschemas.a;
import com.l7tech.server.communityschemas.d;
import com.l7tech.server.communityschemas.e;
import org.jetbrains.annotations.Nullable;

class c
implements GenericHttpClientFactory {
    final GenericHttpClientFactory val$httpClientFactory;
    final long val$maxResponseSize;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    c(HttpSchemaSourceResolver httpSchemaSourceResolver, GenericHttpClientFactory genericHttpClientFactory, long l2) {
        this.val$httpClientFactory = genericHttpClientFactory;
        this.val$maxResponseSize = l2;
    }

    public GenericHttpClient createHttpClient() {
        return this.a(this.val$httpClientFactory.createHttpClient());
    }

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

    private GenericHttpClient a(GenericHttpClient genericHttpClient) {
        return new d(this, genericHttpClient);
    }

    private GenericHttpRequest a(GenericHttpRequest genericHttpRequest) {
        return new e(this, genericHttpRequest);
    }

    private GenericHttpResponse a(GenericHttpResponse genericHttpResponse) {
        return new a(this, genericHttpResponse);
    }
}

