org.apache.catalina.connector

Class CoyoteInputStream

public class CoyoteInputStream extends ServletInputStream

This class handles reading bytes.

Author: Remy Maucherat Jean-Francois Arcand

Field Summary
protected InputBufferib
Constructor Summary
protected CoyoteInputStream(InputBuffer ib)
Method Summary
intavailable()
protected Objectclone()
Prevent cloning the facade.
voidclose()
Close the stream Since we re-cycle, we can't allow the call to super.close() which would permantely disable us.
intread()
intread(byte[] b)
intread(byte[] b, int off, int len)
intreadLine(byte[] b, int off, int len)

Field Detail

ib

protected InputBuffer ib

Constructor Detail

CoyoteInputStream

protected CoyoteInputStream(InputBuffer ib)

Method Detail

available

public int available()

clone

protected Object clone()
Prevent cloning the facade.

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()

read

public int read(byte[] b)

read

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

readLine

public int readLine(byte[] b, int off, int len)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.