Code example for SessionOutputBuffer

Methods: write

0
            throw new IOException("Attempted write to closed stream.");
        } 
        this.out.write(b, off, len);
    } 
 
    public void write(byte[] b) throws IOException {
        write(b, 0, b.length);
    } 
 
    public void write(int b) throws IOException {
        if (this.closed) {
            throw new IOException("Attempted write to closed stream.");
        } 
        this.out.write(b);
    } 
 
} 
Experience pair programming with AI  Get Codota for Java