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.InputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamb - java.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamb - off - len - java.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamn - java.io.IOExceptionpublic void mark(int readlimit)
mark in class java.io.InputStreamreadlimit - public void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStreamCopyright ? 1999-2002 Apache Software Foundation. All Rights Reserved.