public class StaticPage extends Page
_caucho_log, _contentType
Modifier and Type | Method and Description |
---|---|
boolean |
_caucho_isModified()
Returns true if the source has modified for this page.
|
void |
destroy()
Called when the servlet shuts down.
|
boolean |
disableLog() |
long |
getLastModified(HttpServletRequest request)
Returns the Last-Modified time for use in caching.
|
void |
init(Path path) |
void |
service(ServletRequest request,
ServletResponse response)
Executes the JSP Page
|
java.lang.String |
toString()
Returns a printable version of the static page object.
|
static void |
writeDepend(Path dependPath,
java.util.ArrayList<PersistentDependency> dependList) |
_caucho_addCacheDepend, _caucho_addDepend, _caucho_addDepend, _caucho_addDepend, _caucho_addDepend, _caucho_free, _caucho_getApplication, _caucho_getDependList, _caucho_getFunctionMap, _caucho_init, _caucho_lastModified, _caucho_setAlwaysModified, _caucho_setCacheable, _caucho_setContentType, _caucho_setModified, _caucho_setNeverModified, _caucho_use, calculateLastModified, caucho_init, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, isDead, isInit, log, log, pageservice, setDead, startRecompiling
public void init(Path path) throws ServletException
init
in interface CauchoPage
init
in class Page
ServletException
public boolean _caucho_isModified()
_caucho_isModified
in interface CauchoPage
_caucho_isModified
in class Page
public long getLastModified(HttpServletRequest request)
Page
getLastModified
in class Page
public void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
java.io.IOException
ServletException
public boolean disableLog()
public static void writeDepend(Path dependPath, java.util.ArrayList<PersistentDependency> dependList) throws java.io.IOException
java.io.IOException
public void destroy()
Servlet
public java.lang.String toString()
toString
in class java.lang.Object