public abstract class PageManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
PageManager.Entry |
Modifier and Type | Field and Description |
---|---|
protected boolean |
_autoCompile |
protected WebApp |
_webApp |
Modifier and Type | Method and Description |
---|---|
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() |
protected WebApp _webApp
protected boolean _autoCompile
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()