Code example for SessionOutputBuffer

Methods: flush

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