|
||||||||||
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 Acme.Serve.Serve.ServeInputStream
public static class Serve.ServeInputStream
Constructor Summary | |
---|---|
Serve.ServeInputStream(java.io.InputStream in,
Serve.ServeConnection conn)
Constructor |
Method Summary | |
---|---|
int |
available()
Available bytes to read without blocking. |
void |
chunking(boolean chunking)
|
void |
close()
|
void |
mark(int readlimit)
Not Implemented |
boolean |
markSupported()
Mark is not supported |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
protected java.lang.String |
readLine(int maxLen)
Read a line ended by CRLF, used internally only for reading headers. |
void |
reset()
|
long |
skip(long len)
|
Methods inherited from class javax.servlet.ServletInputStream |
---|
readLine |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Serve.ServeInputStream(java.io.InputStream in, Serve.ServeConnection conn)
Method Detail |
---|
public void chunking(boolean chunking)
chunking
- protected java.lang.String readLine(int maxLen) throws java.io.IOException
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 len) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
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 void reset() throws java.io.IOException
reset
in class java.io.InputStream
java.io.IOException
public void mark(int readlimit)
mark
in class java.io.InputStream
readlimit
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |