public abstract class JavaPage extends Page implements HttpJspPage
_caucho_log, _contentType
Constructor and Description |
---|
JavaPage() |
Modifier and Type | Method and Description |
---|---|
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.
|
_caucho_addCacheDepend, _caucho_addDepend, _caucho_addDepend, _caucho_addDepend, _caucho_addDepend, _caucho_free, _caucho_getApplication, _caucho_getDependList, _caucho_getFunctionMap, _caucho_init, _caucho_isModified, _caucho_lastModified, _caucho_setAlwaysModified, _caucho_setCacheable, _caucho_setContentType, _caucho_setModified, _caucho_setNeverModified, _caucho_use, calculateLastModified, caucho_init, getInitParameter, getInitParameterNames, getLastModified, getServletConfig, getServletContext, getServletName, init, isDead, isInit, log, log, pageservice, setDead, startRecompiling
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServletConfig
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
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
public void jspDestroy()
JspPage
jspDestroy
in interface JspPage