@ Override public ServletOutputStream getOutputStream ( ) throws IOException { preResponseCommit ( ) ; if ( buffer == null ) { return getResponse ( ) . getOutputStream ( ) ; } return buffer . getOutputStream ( ) ; }
Returns buffered output stream if buffering is enabled otherwise returns the original stream .