org.apache.coyote.tomcat5

Class CoyoteOutputStream


public class CoyoteOutputStream
extends ServletOutputStream

Coyote implementation of the servlet output stream.

Authors:
Costin Manolache
Remy Maucherat

Field Summary

protected OutputBuffer
ob

Constructor Summary

CoyoteOutputStream(OutputBuffer ob)

Method Summary

void
close()
void
flush()
Will send the buffer to the client.
void
print(String s)
void
write(byte[] b)
void
write(byte[] b, int off, int len)
void
write(int i)

Field Details

ob

protected OutputBuffer ob

Constructor Details

CoyoteOutputStream

protected CoyoteOutputStream(OutputBuffer ob)

Method Details

close

public void close()
            throws IOException


flush

public void flush()
            throws IOException
Will send the buffer to the client.


print

public void print(String s)
            throws IOException


write

public void write(byte[] b)
            throws IOException


write

public void write(byte[] b,
                  int off,
                  int len)
            throws IOException


write

public void write(int i)
            throws IOException


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.