Class SafeInputStream

java.lang.Object
java.io.InputStream
org.keycloak.connections.httpclient.SafeInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class SafeInputStream extends InputStream
Limit the amount of data read to prevent a OutOfMemoryError.
Author:
Alexander Schwartz