@ Override public PrintWriter getWriter ( ) throws IOException { preResponseCommit ( ) ; if ( buffer == null ) { return getResponse ( ) . getWriter ( ) ; } return buffer . getWriter ( ) ; }
Returns buffered writer if buffering is enabled otherwise returns the original writer .