class ServerInputStream
extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
private long |
available |
private java.io.BufferedInputStream |
in |
private long |
markedAvailable |
Constructor and Description |
---|
ServerInputStream(java.io.BufferedInputStream in,
int available) |
private long available
private long markedAvailable
private java.io.BufferedInputStream in
public ServerInputStream(java.io.BufferedInputStream in, int available)
in
- available
- public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.InputStream
b
- java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
b
- off
- len
- java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.InputStream
n
- java.io.IOException
public void mark(int readlimit)
mark
in class java.io.InputStream
readlimit
- public void reset() throws java.io.IOException
reset
in class java.io.InputStream
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.InputStream
Copyright ? 1999-2002 Apache Software Foundation. All Rights Reserved.