|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.InputStream | +--javax.servlet.ServletInputStream | +--com.mortbay.HTTP.HttpInputStream
HTTP input stream
Field Summary | |
static int |
__maxLineLength
Limit max line length |
Constructor Summary | |
HttpInputStream(java.io.InputStream in)
Constructor |
Method Summary | |
int |
available()
Available bytes to read without blocking. |
void |
chunking(boolean chunking)
|
void |
close()
Close stream. |
HttpHeader |
getFooters()
Get footers Only valid after EOF has been returned |
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 |
void |
setContentLength(int len)
Set the content length. |
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 |
Field Detail |
public static int __maxLineLength
Constructor Detail |
public HttpInputStream(java.io.InputStream in)
Method Detail |
public void chunking(boolean chunking)
chunking
- public void setContentLength(int len)
len
- length.public java.lang.String readLine() throws java.io.IOException
public int read() throws java.io.IOException
public int read(byte[] b) throws java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
public long skip(long len) throws java.io.IOException
public int available() throws java.io.IOException
public void close() throws java.io.IOException
public boolean markSupported()
public void reset()
public void mark(int readlimit)
readlimit
- public HttpHeader getFooters()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |