|
|||||||||
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.judoscript.user.httpserver.ServeInputStream
public class ServeInputStream
Constructor Summary | |
---|---|
ServeInputStream(java.io.InputStream in)
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)
|
java.lang.String |
readLine()
Read a line ended by CR or CRLF or LF. |
void |
reset()
Not Implemented |
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 ServeInputStream(java.io.InputStream in)
Method Detail |
---|
public void chunking(boolean chunking)
chunking
- public java.lang.String readLine() 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()
reset
in class java.io.InputStream
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 |