Definition at line 2475 of file Serve.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) |
String Acme.Serve.ServeInputStream.readLine | ( | ) | throws IOException |
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 2506 of file Serve.java.
References Acme.Serve.ServeInputStream.read().
int Acme.Serve.ServeInputStream.available | ( | ) | throws IOException |
Available bytes to read without blocking.
If you are unlucky may return 0 when there are more
Definition at line 2597 of file Serve.java.
boolean Acme.Serve.ServeInputStream.markSupported | ( | ) |
void Acme.Serve.ServeInputStream.mark | ( | int | readlimit | ) |