Definition at line 38 of file ServeInputStream.java.
Public Member Functions | |
ServeInputStream (InputStream in) | |
Constructor. | |
void | chunking (boolean chunking) |
String | readLine () throws IOException |
Read a line ended by CR or CRLF or LF. | |
int | read () throws IOException |
int | read (byte b[]) throws IOException |
int | read (byte b[], int off, int len) throws IOException |
long | skip (long len) throws IOException |
int | available () throws IOException |
Available bytes to read without blocking. | |
void | close () throws IOException |
boolean | markSupported () |
Mark is not supported. | |
void | reset () |
Not Implemented. | |
void | mark (int readlimit) |
Not Implemented. | |
Package Functions | |
boolean | isReturnedAsStream () |
void | setReturnedAsStream (boolean _on) |
boolean | isReturnedAsReader () |
void | setReturnedAsReader (boolean _on) |
|
Available bytes to read without blocking. If you are unlucky may return 0 when there are more Definition at line 156 of file ServeInputStream.java. |
|
Definition at line 56 of file ServeInputStream.java. |
|
Not Implemented.
Definition at line 191 of file ServeInputStream.java. |
|
Mark is not supported.
Definition at line 177 of file ServeInputStream.java. |
|
Read a line ended by CR or CRLF or LF. More forgiving of line termination than ServletInputStream.readLine(). This method only read raw data, that may be chunked. Calling ServletInputStream.readLine() will always return unchunked data. Definition at line 67 of file ServeInputStream.java. References org.openmobileis.embedded.webserver.ServeInputStream.read(). |