Class ServletInputStreamWrapper

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class ServletInputStreamWrapper
    extends javax.servlet.ServletInputStream
    Provides a convenient extension of the ServletInputStream class that can be subclassed by developers wishing to adapt the behavior of a Stream. One such example may be to override close() to instead be a no-op as in SOLR-8933.

    This class implements the Wrapper or Decorator pattern. Methods default to calling through to the wrapped stream.