Interface Finishable

All Known Implementing Classes:
FinishablePrintWriter, FinishableServletOutputStream

public interface Finishable
Interface that identifies an output stream has having a finish() method.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Finishes writing compressed data to the output stream without closing the underlying stream.
  • Method Details

    • finish

      void finish() throws IOException
      Finishes writing compressed data to the output stream without closing the underlying stream.

      Use this method when applying multiple filters in succession to the same output stream.

      Throws:
      IOException - Thrown by underlying stream.