1 28 29 package com.caucho.server.connection; 30 31 import com.caucho.server.webapp.WebApp; 32 import com.caucho.vfs.ReadStream; 33 34 import javax.servlet.ServletException ; 35 import javax.servlet.http.Cookie ; 36 import javax.servlet.http.HttpServletRequest ; 37 import java.io.IOException ; 38 39 public interface CauchoRequest extends HttpServletRequest { 40 public String getPageURI(); 41 public String getPageContextPath(); 42 public String getPageServletPath(); 43 public String getPagePathInfo(); 44 public String getPageQueryString(); 45 46 public WebApp getWebApp(); 47 48 public ReadStream getStream() throws IOException ; 49 public int getRequestDepth(int depth); 50 public void setHeader(String key, String value); 51 public boolean getVaryCookies(); 52 public String getVaryCookie(); 53 public void setVaryCookie(String cookie); 54 public boolean getHasCookie(); 55 56 public boolean isTop(); 57 58 public Cookie getCookie(String name); 59 public void setHasCookie(); 60 public void killKeepalive(); 61 public boolean allowKeepalive(); 62 public boolean authenticate() 63 throws ServletException , IOException ; 64 65 } 67 | Popular Tags |