/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.common.http.GenericHttpException
 *  com.l7tech.common.http.GenericHttpResponse
 *  com.l7tech.common.http.HttpHeaders
 *  com.l7tech.common.io.ByteLimitInputStream
 *  com.l7tech.common.mime.ContentTypeHeader
 */
package com.l7tech.server.communityschemas;

import com.l7tech.common.http.GenericHttpException;
import com.l7tech.common.http.GenericHttpResponse;
import com.l7tech.common.http.HttpHeaders;
import com.l7tech.common.io.ByteLimitInputStream;
import com.l7tech.common.mime.ContentTypeHeader;
import com.l7tech.server.communityschemas.c;
import java.io.InputStream;

class a
extends GenericHttpResponse {
    final GenericHttpResponse val$response;
    final c this$1;

    a(c c10, GenericHttpResponse genericHttpResponse) {
        this.this$1 = c10;
        this.val$response = genericHttpResponse;
    }

    public InputStream getInputStream() throws GenericHttpException {
        return new ByteLimitInputStream(this.val$response.getInputStream(), 1024, this.this$1.val$maxResponseSize);
    }

    public void close() {
        this.val$response.close();
    }

    public int getStatus() {
        return this.val$response.getStatus();
    }

    public HttpHeaders getHeaders() {
        return this.val$response.getHeaders();
    }

    public ContentTypeHeader getContentType() {
        return this.val$response.getContentType();
    }

    public Long getContentLength() {
        return this.val$response.getContentLength();
    }
}

