| com.lutris.appserver.server.httpPresentation.HttpPresentationInputStream com.lutris.appserver.server.httpPresentation.servlet.ServletHttpPresentationInputStream
ServletHttpPresentationInputStream | public class ServletHttpPresentationInputStream extends HttpPresentationInputStream (Code) | | HTTP request input stream reader for servlets.
This implements all methods that are defined in InputStream as calles
to the servlet object, since we don't know which ones are implemented by
ServletInputStream.
See Also: javax.servlet.ServletInputStream |
Method Summary | |
public int | available() | public synchronized void | mark(int readlimit) | public boolean | markSupported() | public int | read() | public int | read(byte b) | public int | read(byte b, int off, int len) | public int | readLine(byte[] b, int off, int len) Starting at the specified offset, reads into the given array of
bytes until all requested bytes have been read or a '\n' is
encountered, in which case the '\n' is read into the array as well. | public synchronized void | reset() | public long | skip(long n) |
ServletHttpPresentationInputStream | protected ServletHttpPresentationInputStream(ServletInputStream inputStream)(Code) | | Construct an object for accessing a servlet input stream.
|
mark | public synchronized void mark(int readlimit)(Code) | | |
markSupported | public boolean markSupported()(Code) | | |
readLine | public int readLine(byte[] b, int off, int len) throws IOException(Code) | | Starting at the specified offset, reads into the given array of
bytes until all requested bytes have been read or a '\n' is
encountered, in which case the '\n' is read into the array as well.
Parameters: b - the buffer into which the data is read Parameters: off - the start offset of the data Parameters: len - the maximum number of bytes to read the actual number of bytes read, or -1 if the end of thestream is reached exception: IOException - if an I/O error has occurred |
|
|