org.apache.solr.servlet

Class ServletInputStreamWrapper

  • java.lang.Object
    • ServletInputStream
      • org.apache.solr.servlet.ServletInputStreamWrapper


  • public class ServletInputStreamWrapper
    extends 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.