public abstract class JspFactory
extends java.lang.Object
Constructor and Description |
---|
JspFactory() |
Modifier and Type | Method and Description |
---|---|
static JspFactory |
getDefaultFactory()
Returns the default factory.
|
abstract JspEngineInfo |
getEngineInfo()
Returns implementation-dependent information on the JSP engine.
|
abstract PageContext |
getPageContext(Servlet servlet,
ServletRequest request,
ServletResponse response,
java.lang.String errorPageURL,
boolean needsSession,
int buffer,
boolean autoflush)
Get a PageContext object associated with a request/response.
|
abstract void |
releasePageContext(PageContext ctx)
Release a PageContext obtained via a previous call to
getPageContext(javax.servlet.Servlet, javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.lang.String, boolean, int, boolean) . |
static void |
setDefaultFactory(JspFactory factory)
Sets the default factory to use.
|
public static void setDefaultFactory(JspFactory factory)
factory
- the new default factorypublic static JspFactory getDefaultFactory()
public abstract PageContext getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int buffer, boolean autoflush)
public abstract void releasePageContext(PageContext ctx)
getPageContext(javax.servlet.Servlet, javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.lang.String, boolean, int, boolean)
.public abstract JspEngineInfo getEngineInfo()