|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.jsp.Page
com.caucho.jsp.JavaPage
public abstract class JavaPage
Field Summary |
---|
Fields inherited from class com.caucho.jsp.Page |
---|
_caucho_log, _contentType |
Constructor Summary | |
---|---|
JavaPage()
|
Method Summary | |
---|---|
abstract void |
_jspService(HttpServletRequest request,
HttpServletResponse response)
The main service method for a JSP page. |
static void |
addDepend(java.util.ArrayList list,
PersistentDependency depend)
Static method to avoid compilation issues. |
void |
destroy()
Called when the servlet shuts down. |
java.lang.String |
getServletInfo()
Returns an information string about the servlet. |
void |
init(ServletConfig config)
Initialize the servlet. |
void |
jspDestroy()
Called when closing the JSP page, after all requests. |
void |
jspInit()
Called before the first request for a JSP page. |
void |
service(ServletRequest request,
ServletResponse response)
Service a request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.Servlet |
---|
getServletConfig |
Constructor Detail |
---|
public JavaPage()
Method Detail |
---|
public void init(ServletConfig config) throws ServletException
Page
init
in interface Servlet
init
in class Page
config
- information from the configuration file.
ServletException
public void jspInit()
JspPage
jspInit
in interface JspPage
public void service(ServletRequest request, ServletResponse response) throws ServletException, java.io.IOException
Servlet
service
simultaneously. Normally,
req
and res
will actually be
HttpServletRequest
and HttpServletResponse
classes.
service
in interface Servlet
request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
ServletException
java.io.IOException
public abstract void _jspService(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
HttpJspPage
_jspService
in interface HttpJspPage
request
- the servlet request.response
- the servlet response.
ServletException
java.io.IOException
public java.lang.String getServletInfo()
Servlet
getServletInfo
in interface Servlet
getServletInfo
in class Page
public static void addDepend(java.util.ArrayList list, PersistentDependency depend)
public void destroy()
Servlet
destroy
in interface Servlet
destroy
in class Page
public void jspDestroy()
JspPage
jspDestroy
in interface JspPage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |