code: public void close() throws IOException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
          { // 306998.15
              Tr.debug(tc, "close");
          }
  
          // Were we requested to close the underlying stream ?
          finish();
          try
          {
              // 104771 - alert the observer that the underlying stream is being closed
              obs.alertClose();
  
              // don't close the underlying stream...we want to reuse it
              // out.close();
          }
          catch (Exception ex)
          {
              com.ibm.wsspi.webcontainer.util.FFDCWrapper.processException(ex, "com.ibm.ws.webcontainer.srt.BufferedWriter.close", "397", this);
          }
      }
docs: Closes the servlet output stream.