public abstract class ServerInputStream extends InputStream
Provides non-blocking InputStream
for servicing.
Should an attempt be made to read more than the available bytes, a
NoAvailableInputException
will be thrown.
Constructor and Description |
---|
ServerInputStream() |
Modifier and Type | Method and Description |
---|---|
abstract int |
available() |
abstract BrowseInputStream |
createBrowseInputStream()
Obtains a new
BrowseInputStream that starts browsing the input
content from the current position of the ServerInputStream within
the input stream of data. |
abstract int |
read() |
close, mark, markSupported, read, read, reset, skip
public abstract BrowseInputStream createBrowseInputStream()
BrowseInputStream
that starts browsing the input
content from the current position of the ServerInputStream
within
the input stream of data.BrowseInputStream
.public abstract int read() throws IOException, NoAvailableInputException
read
in class InputStream
IOException
NoAvailableInputException
public abstract int available() throws IOException
available
in class InputStream
IOException
Copyright © 2005–2016. All rights reserved.