org.apache.solr.servlet

Class ServletOutputStreamWrapper

  • java.lang.Object
    • ServletOutputStream
      • org.apache.solr.servlet.ServletOutputStreamWrapper


  • public class ServletOutputStreamWrapper
    extends ServletOutputStream
    Provides a convenient extension of the ServletOutputStream 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.