public void resetStream ( ) throws IOException , IllegalStateException { if ( isChunking ( ) ) close ( ) ; _out = null ; _nulled = true ; if ( _bufferedOut != null ) { _bufferedOut . resetStream ( ) ; if ( _bufferedOut instanceof ChunkingOutputStream ) ( ( ChunkingOutputStream ) _bufferedOut ) . setChunking ( false ) ; } if ( _iso8859writer != null ) _iso8859writer . flush ( ) ; if ( _utf8writer != null ) _utf8writer . flush ( ) ; if ( _asciiwriter != null ) _asciiwriter . flush ( ) ; _bytes = 0 ; _written = false ; _out = _realOut ; _closing = false ; _contentLength = - 1 ; _nulled = false ; if ( _observers != null ) _observers . clear ( ) ; }
Reset the stream . Turn disable all filters .