Module jls.io.streams.LimitedStreamHandler
This class allows to limit the stream to pass to the wrapped handler to a specified size.
Class LimitedStreamHandler
LimitedStreamHandler:new (handler[, limit]) | Creates a StreamHandler with a limited size. |
Class LimitedStreamHandler
A LimitedStreamHandler class.
This class allows to limit the stream to pass to the wrapped handler to a specified size.
- LimitedStreamHandler:new (handler[, limit])
-
Creates a StreamHandler with a limited size.
The data will be pass to the wrapped handler up to the limit.
Parameters:
- handler StreamHandler the handler to wrap
- limit number the max size to handle (optional)