org.apache.coyote.tomcat4

Class CoyoteInputStream


public class CoyoteInputStream
extends ServletInputStream

This class handles the readin input bytes, as well as the input buffering.

Author:
Remy Maucherat

Method Summary

int
available()
void
close()
Close the stream Since we re-cycle, we can't allow the call to super.close() which would permantely disable us.
int
read()
int
read(byte[] b)
int
read(byte[] b, int off, int len)
protected int
readBytes()
Read bytes to the read chunk buffer.
int
readLine(byte[] b, int off, int len)

Method Details

available

public int available()
            throws IOException


close

public void close()
Close the stream Since we re-cycle, we can't allow the call to super.close() which would permantely disable us.


read

public int read()
            throws IOException


read

public int read(byte[] b)
            throws IOException


read

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


readBytes

protected int readBytes()
            throws IOException
Read bytes to the read chunk buffer.


readLine

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


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