|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream javax.servlet.ServletInputStream com.antiaction.mayhem.httpd.BufferedServletInputStream
public class BufferedServletInputStream
Buffered Servlet InputStream.
Constructor Summary | |
---|---|
BufferedServletInputStream()
Construct object with default buffer size. |
|
BufferedServletInputStream(int size)
Construct object with a buffer of the requested size. |
Method Summary | |
---|---|
int |
available()
|
void |
close()
|
void |
init()
Initialize the internal structures and indexes. |
void |
mark(int readlimit)
|
boolean |
markSupported()
|
void |
open(java.io.InputStream in)
Attach an InputStream to this wrapper. |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
int |
readLine(byte[] b,
int off,
int len)
|
void |
reset()
|
long |
skip(long n)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BufferedServletInputStream()
BufferedServletInputStream(int)
public BufferedServletInputStream(int size)
size
- initial size of buffer.Method Detail |
---|
public void init()
public void open(java.io.InputStream in)
InputStream
to this wrapper.
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.InputStream
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public void mark(int readlimit)
mark
in class java.io.InputStream
public void reset() throws java.io.IOException
reset
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
public int readLine(byte[] b, int off, int len) throws java.io.IOException
readLine
in class javax.servlet.ServletInputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |