Class ConstrainableInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public final class ConstrainableInputStream
extends BufferedInputStream
A jsoup internal class (so don't use it as there is no contract API) that enables constraints on an Input Stream, namely a maximum read size, and the ability to Thread.interrupt() the read.