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

Acme.Serve.ServeInputStream Class Reference

List of all members.

Detailed Description

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)


Member Function Documentation

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.

void Acme.Serve.ServeInputStream.chunking boolean  chunking  ) 
 

Parameters:
chunking 

Definition at line 2495 of file Serve.java.

void Acme.Serve.ServeInputStream.mark int  readlimit  ) 
 

Not Implemented.

Parameters:
readlimit 

Definition at line 2632 of file Serve.java.

boolean Acme.Serve.ServeInputStream.markSupported  ) 
 

Mark is not supported.

Returns:
false

Definition at line 2618 of file Serve.java.

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.


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