1 16 19 20 package org.apache.pluto.portalImpl.servlet; 21 22 import java.io.IOException ; 23 import java.io.PrintWriter ; 24 25 import javax.servlet.http.HttpServletResponse ; 26 27 public class StoredServletResponseImpl extends ServletResponseImpl 28 { 29 private PrintWriter writer; 30 31 public StoredServletResponseImpl(HttpServletResponse response, PrintWriter _writer) 32 { 33 super(response); 34 writer = _writer; 35 } 36 37 public void setResponse(HttpServletResponse response) 38 { 39 super.setResponse(response); 40 } 41 48 public PrintWriter getWriter() 49 throws IOException 50 { 51 return writer; 52 } 53 64 public void flushBuffer() 65 throws IOException 66 { 67 writer.flush(); 68 } 69 85 } 86 | Popular Tags |