1 29 30 package com.caucho.server.connection; 31 32 import com.caucho.vfs.FlushBuffer; 33 34 import javax.servlet.http.HttpServletResponse ; 35 import java.io.IOException ; 36 37 public interface CauchoResponse extends HttpServletResponse { 38 39 public AbstractResponseStream getResponseStream(); 40 public void setResponseStream(AbstractResponseStream os); 41 42 public boolean isCauchoResponseStream(); 43 44 public void setFlushBuffer(FlushBuffer out); 45 public FlushBuffer getFlushBuffer(); 46 47 public String getHeader(String key); 48 49 public void close() throws IOException ; 50 51 54 public boolean disableHeaders(boolean disable); 55 56 public boolean getForbidForward(); 57 public void setForbidForward(boolean forbid); 58 59 public boolean hasError(); 60 public void setHasError(boolean error); 61 62 public void setSessionId(String id); 63 64 public void killCache(); 65 public void setNoCache(boolean killCache); 66 public void setPrivateCache(boolean isPrivate); 67 } 68 | Popular Tags |