home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / jsp-api.jar / javax / servlet / jsp / PageContext.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-08-28  |  2.7 KB  |  64 lines

  1. package javax.servlet.jsp;
  2.  
  3. import java.io.IOException;
  4. import javax.servlet.Servlet;
  5. import javax.servlet.ServletConfig;
  6. import javax.servlet.ServletContext;
  7. import javax.servlet.ServletException;
  8. import javax.servlet.ServletRequest;
  9. import javax.servlet.ServletResponse;
  10. import javax.servlet.http.HttpSession;
  11. import javax.servlet.jsp.tagext.BodyContent;
  12.  
  13. public abstract class PageContext extends JspContext {
  14.    public static final int PAGE_SCOPE = 1;
  15.    public static final int REQUEST_SCOPE = 2;
  16.    public static final int SESSION_SCOPE = 3;
  17.    public static final int APPLICATION_SCOPE = 4;
  18.    public static final String PAGE = "javax.servlet.jsp.jspPage";
  19.    public static final String PAGECONTEXT = "javax.servlet.jsp.jspPageContext";
  20.    public static final String REQUEST = "javax.servlet.jsp.jspRequest";
  21.    public static final String RESPONSE = "javax.servlet.jsp.jspResponse";
  22.    public static final String CONFIG = "javax.servlet.jsp.jspConfig";
  23.    public static final String SESSION = "javax.servlet.jsp.jspSession";
  24.    public static final String OUT = "javax.servlet.jsp.jspOut";
  25.    public static final String APPLICATION = "javax.servlet.jsp.jspApplication";
  26.    public static final String EXCEPTION = "javax.servlet.jsp.jspException";
  27.  
  28.    public abstract void initialize(Servlet var1, ServletRequest var2, ServletResponse var3, String var4, boolean var5, int var6, boolean var7) throws IOException, IllegalStateException, IllegalArgumentException;
  29.  
  30.    public abstract void release();
  31.  
  32.    public abstract HttpSession getSession();
  33.  
  34.    public abstract Object getPage();
  35.  
  36.    public abstract ServletRequest getRequest();
  37.  
  38.    public abstract ServletResponse getResponse();
  39.  
  40.    public abstract Exception getException();
  41.  
  42.    public abstract ServletConfig getServletConfig();
  43.  
  44.    public abstract ServletContext getServletContext();
  45.  
  46.    public abstract void forward(String var1) throws ServletException, IOException;
  47.  
  48.    public abstract void include(String var1) throws ServletException, IOException;
  49.  
  50.    public abstract void include(String var1, boolean var2) throws ServletException, IOException;
  51.  
  52.    public abstract void handlePageException(Exception var1) throws ServletException, IOException;
  53.  
  54.    public abstract void handlePageException(Throwable var1) throws ServletException, IOException;
  55.  
  56.    public BodyContent pushBody() {
  57.       return null;
  58.    }
  59.  
  60.    public ErrorData getErrorData() {
  61.       return new ErrorData((Throwable)this.getRequest().getAttribute("javax.servlet.error.exception"), (Integer)this.getRequest().getAttribute("javax.servlet.error.status_code"), (String)this.getRequest().getAttribute("javax.servlet.error.request_uri"), (String)this.getRequest().getAttribute("javax.servlet.error.servlet_name"));
  62.    }
  63. }
  64.