public class ThrottlingInputStream extends FilterInputStream
in| Modifier | Constructor and Description |
|---|---|
protected |
ThrottlingInputStream(InputStream in,
int bytesBetweenDelays,
int timeoutMils) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, read, reset, skipprotected ThrottlingInputStream(InputStream in, int bytesBetweenDelays, int timeoutMils)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionCopyright © 2019. All rights reserved.