public class MockJspFactory
extends javax.servlet.jsp.JspFactory
JspFactory.
This implementation returns null
for getJspApplicationContext(javax.servlet.ServletContext). For full
support of JspApplicationContext use
JasperJspFactory.| Constructor and Description |
|---|
MockJspFactory() |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.jsp.JspEngineInfo |
getEngineInfo() |
javax.servlet.jsp.JspApplicationContext |
getJspApplicationContext(javax.servlet.ServletContext context) |
javax.servlet.jsp.PageContext |
getPageContext()
Returns the
PageContext. |
javax.servlet.jsp.PageContext |
getPageContext(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
String errorPageURL,
boolean needsSession,
int buffer,
boolean autoflush) |
void |
releasePageContext(javax.servlet.jsp.PageContext pageContext) |
void |
setEngineInfo(javax.servlet.jsp.JspEngineInfo engineInfo)
Set the
JspEngineInfo. |
void |
setJspApplicationContext(javax.servlet.jsp.JspApplicationContext applicationContext)
Set the
JspApplicationContext. |
void |
setPageContext(javax.servlet.jsp.PageContext pageContext)
Set the
PageContext. |
public void setEngineInfo(javax.servlet.jsp.JspEngineInfo engineInfo)
JspEngineInfo. Per default,
MockJspEngineInfo is used.engineInfo - the JspEngineInfopublic void setJspApplicationContext(javax.servlet.jsp.JspApplicationContext applicationContext)
JspApplicationContext.applicationContext - the JspApplicationContextpublic void setPageContext(javax.servlet.jsp.PageContext pageContext)
PageContext.pageContext - the PageContextpublic javax.servlet.jsp.PageContext getPageContext()
PageContext.PageContextpublic javax.servlet.jsp.JspEngineInfo getEngineInfo()
getEngineInfo in class javax.servlet.jsp.JspFactorypublic javax.servlet.jsp.JspApplicationContext getJspApplicationContext(javax.servlet.ServletContext context)
getJspApplicationContext in class javax.servlet.jsp.JspFactorypublic javax.servlet.jsp.PageContext getPageContext(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
String errorPageURL,
boolean needsSession,
int buffer,
boolean autoflush)
getPageContext in class javax.servlet.jsp.JspFactorypublic void releasePageContext(javax.servlet.jsp.PageContext pageContext)
releasePageContext in class javax.servlet.jsp.JspFactoryCopyright © 2003-2015. All Rights Reserved.