|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
javax.servlet.ServletInputStream
com.antiaction.mayhem.httpd.input.InputStreamChunked
public class InputStreamChunked
Dispatch InputStream Chunked.
| Constructor Summary | |
|---|---|
InputStreamChunked()
Construct object with default buffer size. |
|
InputStreamChunked(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. |
boolean |
isEntityStreamed()
Check wether the request was read fully. |
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 InputStreamChunked()
InputStreamChunked(int)public InputStreamChunked(int size)
size - initial size of buffer.InputStreamChunked()| Method Detail |
|---|
public void init()
public void open(java.io.InputStream in)
InputStream to this wrapper.
in - the underlying InputStream.public boolean isEntityStreamed()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStream
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic void mark(int readlimit)
mark in class java.io.InputStream
public void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOException
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOException
public int readLine(byte[] b,
int off,
int len)
throws java.io.IOException
readLine in class javax.servlet.ServletInputStreamjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||