Methods inherited from class java.lang.Object

Field Detail

DEFAULT_STREAM_BUFFER_SIZE

public static final int DEFAULT_STREAM_BUFFER_SIZE

Used to enable mark-and-reset for non-mark-and-resettable non-file input
stream for up to 128K memory buffering by default. Add 1 to get around an
implementation quirk of BufferedInputStream. Retries after reading
DEFAULT_STREAM_BUFFER_SIZE bytes would fail to reset the
underlying input stream as the mark position would have been invalidated.