Class Overview
This is a wrapper around an InputStream that limits the amount of data that can be returned. This allows admins
to set maximum download sizes for Confluence retrieved content, so that people can't, say, point the RSS macro
at an ISO file and cause the system to collapse painfully.
If you try to retrieve more than the maximum allowed size, the read() methods will fail with an IOException
Public Constructors
public
SizeLimitedInputStream
(InputStream wrappedInputStream, int maxBytesToRead)
Public Methods
public
synchronized
void
mark
(int readlimit)
public
boolean
markSupported
()
public
synchronized
void
reset
()
public
long
skip
(long n)