Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.openmobileis.embedded.webserver.ServeInputStream Class Reference

List of all members.

Detailed Description

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)


Member Function Documentation

int org.openmobileis.embedded.webserver.ServeInputStream.available  )  throws IOException
 

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.

void org.openmobileis.embedded.webserver.ServeInputStream.chunking boolean  chunking  ) 
 

Parameters:
chunking 

Definition at line 56 of file ServeInputStream.java.

void org.openmobileis.embedded.webserver.ServeInputStream.mark int  readlimit  ) 
 

Not Implemented.

Parameters:
readlimit 

Definition at line 191 of file ServeInputStream.java.

boolean org.openmobileis.embedded.webserver.ServeInputStream.markSupported  ) 
 

Mark is not supported.

Returns:
false

Definition at line 177 of file ServeInputStream.java.

String org.openmobileis.embedded.webserver.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 67 of file ServeInputStream.java.

References org.openmobileis.embedded.webserver.ServeInputStream.read().


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:38 2005 for OpenMobileIS by  doxygen 1.4.4