public class WinstoneInputStream extends ServletInputStream
| Constructor and Description |
|---|
WinstoneInputStream(byte[] inData) |
WinstoneInputStream(InputStream inData)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
finishRequest() |
InputStream |
getRawInputStream() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
int |
readAsMuchAsPossible(byte[] buf,
int offset,
int len)
Reads like
DataInputStream.readFully(byte[], int, int), except EOF before
fully reading it won't result in an exception. |
byte[] |
readLine()
Wrapper for the servletInputStream's readline method
|
void |
setContentLength(int length) |
readLineclose, mark, markSupported, read, reset, skippublic WinstoneInputStream(InputStream inData)
public WinstoneInputStream(byte[] inData)
public InputStream getRawInputStream()
public void setContentLength(int length)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int readAsMuchAsPossible(byte[] buf,
int offset,
int len)
throws IOException
DataInputStream.readFully(byte[], int, int), except EOF before
fully reading it won't result in an exception.IOExceptionpublic void finishRequest()
public int available()
throws IOException
available in class InputStreamIOExceptionpublic byte[] readLine()
throws IOException
IOExceptionCopyright © 2014. All rights reserved.