All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.javajy.api.b.g Maven / Gradle / Ivy

The newest version!
package com.javajy.api.b;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import javax.servlet.ServletOutputStream;
import javax.servlet.WriteListener;

public class g extends ServletOutputStream {
    private final OutputStream s;
    ByteArrayOutputStream t = new ByteArrayOutputStream();

    public g(OutputStream var1) {
        this.s = var1;
    }

    public boolean isReady() {
        return false;
    }

    public void setWriteListener(WriteListener var1) {
    }

    public ByteArrayOutputStream h() {
        return this.t;
    }

    public final OutputStream i() {
        return this.s;
    }

    public void write(int var1) throws IOException {
        this.t.write(var1);
        this.s.write(var1);
    }

    public void write(byte[] var1) throws IOException {
        this.t.write(var1);
        this.s.write(var1);
    }

    public void flush() throws IOException {
        super.flush();
        this.s.flush();
        this.t.flush();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy