|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.jsp.PageManager
public abstract class PageManager
Parent template manager for both JspManager and XtpManager. PageManager is responsible for caching pages until the underlying files change.
Nested Class Summary | |
---|---|
class |
PageManager.Entry
|
Field Summary | |
---|---|
protected boolean |
_autoCompile
|
protected WebApp |
_webApp
|
Method Summary | |
---|---|
PageContextImpl |
allocatePageContext(Servlet servlet,
ServletRequest request,
ServletResponse response,
java.lang.String errorPageURL,
boolean needsSession,
int buffer,
boolean autoFlush)
|
PageContextImpl |
allocatePageContext(Servlet servlet,
WebApp app,
ServletRequest request,
ServletResponse response,
java.lang.String errorPageURL,
HttpSession session,
int buffer,
boolean autoFlush,
boolean isPrintNullAsBlank)
The jsp page context initialization. |
PageContextWrapper |
createPageContextWrapper(JspContext parent)
|
void |
freePageContext(PageContext pc)
|
void |
freePageContextWrapper(PageContextWrapper wrapper)
|
Path |
getAppDir()
|
Path |
getClassDir()
|
Page |
getPage(java.lang.String uri,
Path path)
Compiles and returns the page at the given path and uri. |
Page |
getPage(java.lang.String uri,
java.lang.String pageURI,
Path path,
ServletConfig config)
Compiles and returns the page at the given path and uri. |
Page |
getPage(java.lang.String uri,
java.lang.String pageURI,
Path path,
ServletConfig config,
java.util.ArrayList<PersistentDependency> dependList)
Compiles and returns the page at the given path and uri. |
protected void |
initPageManager()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected WebApp _webApp
protected boolean _autoCompile
Method Detail |
---|
public Path getClassDir()
public Path getAppDir()
public PageContextImpl allocatePageContext(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int buffer, boolean autoFlush)
public PageContextImpl allocatePageContext(Servlet servlet, WebApp app, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, HttpSession session, int buffer, boolean autoFlush, boolean isPrintNullAsBlank)
public void freePageContext(PageContext pc)
public PageContextWrapper createPageContextWrapper(JspContext parent)
public void freePageContextWrapper(PageContextWrapper wrapper)
public Page getPage(java.lang.String uri, Path path) throws java.lang.Exception
path
- Path to the page.uri
- uri of the page.
java.lang.Exception
public Page getPage(java.lang.String uri, java.lang.String pageURI, Path path, ServletConfig config) throws java.lang.Exception
path
- Path to the page.uri
- uri of the page.
java.lang.Exception
public Page getPage(java.lang.String uri, java.lang.String pageURI, Path path, ServletConfig config, java.util.ArrayList<PersistentDependency> dependList) throws java.lang.Exception
uri
- uri of the page.uri
- uri of the page.path
- Path to the page.
java.lang.Exception
protected void initPageManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |