FileDocCategorySizeDatePackage
CoyoteOutputStream.javaAPI DocApache Tomcat 6.0.142540Fri Jul 20 04:20:32 BST 2007org.apache.catalina.connector

CoyoteOutputStream

public class CoyoteOutputStream extends ServletOutputStream
Coyote implementation of the servlet output stream.
author
Costin Manolache
author
Remy Maucherat

Fields Summary
protected OutputBuffer
ob
Constructors Summary
protected CoyoteOutputStream(OutputBuffer ob)

        this.ob = ob;
    
Methods Summary
voidclear()
Clear facade.

        ob = null;
    
protected java.lang.Objectclone()
Prevent cloning the facade.

        throw new CloneNotSupportedException();
    
public voidclose()

        ob.close();
    
public voidflush()
Will send the buffer to the client.

        ob.flush();
    
public voidwrite(int i)

        ob.writeByte(i);
    
public voidwrite(byte[] b)

        write(b, 0, b.length);
    
public voidwrite(byte[] b, int off, int len)

        ob.write(b, off, len);