public final class CFMLFactoryImpl extends CFMLFactory
Constructor and Description |
---|
CFMLFactoryImpl(CFMLEngineImpl engine)
constructor of the JspFactory
|
Modifier and Type | Method and Description |
---|---|
void |
checkTimeout()
check timeout of all running threads, downgrade also priority from all thread run longer than 10 seconds
|
static RequestTimeoutException |
createRequestTimeoutException(PageContext pc) |
Map<Integer,PageContextImpl> |
getActivePageContexts() |
ConfigWeb |
getConfig() |
ConfigWebImpl |
getConfigWebImpl() |
QueryCache |
getDefaultQueryCache() |
javax.servlet.jsp.JspEngineInfo |
getEngineInfo() |
Array |
getInfo() |
Object |
getLabel() |
PageContext |
getLuceePageContext(javax.servlet.http.HttpServlet servlet,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoflush)
similar to getPageContext Method but return the concrete implementation of the lucee PageCOntext
and take the HTTP Version of the Servlet Objects
|
javax.servlet.jsp.PageContext |
getPageContext(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest req,
javax.servlet.ServletResponse rsp,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoflush) |
PageContextImpl |
getPageContextImpl(javax.servlet.http.HttpServlet servlet,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoflush,
boolean registerPageContext2Thread,
boolean isChild) |
long |
getPageContextsSize() |
ScopeContext |
getScopeContext() |
javax.servlet.http.HttpServlet |
getServlet() |
URL |
getURL() |
int |
getUsedPageContextLength() |
void |
releaseLuceePageContext(PageContext pc)
Similar to the releasePageContext Method, but take lucee PageContext as entry
|
void |
releasePageContext(javax.servlet.jsp.PageContext pc) |
void |
resetPageContext()
reset the PageContexes
|
void |
setConfig(ConfigWebImpl config) |
void |
setLabel(String label) |
void |
setURL(URL url) |
void |
stopThread(String threadId,
String stopType) |
static void |
terminate(PageContextImpl pc) |
public CFMLFactoryImpl(CFMLEngineImpl engine)
config
- Lucee specified Configurationcompiler
- CFML compilerengine
- public void resetPageContext()
resetPageContext
in class CFMLFactory
public javax.servlet.jsp.PageContext getPageContext(javax.servlet.Servlet servlet, javax.servlet.ServletRequest req, javax.servlet.ServletResponse rsp, String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush)
getPageContext
in class javax.servlet.jsp.JspFactory
public PageContext getLuceePageContext(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush)
getLuceePageContext
in class CFMLFactory
servlet
- req
- rsp
- errorPageURL
- needsSession
- bufferSize
- autoflush
- public PageContextImpl getPageContextImpl(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush, boolean registerPageContext2Thread, boolean isChild)
public void releasePageContext(javax.servlet.jsp.PageContext pc)
releasePageContext
in class javax.servlet.jsp.JspFactory
public void releaseLuceePageContext(PageContext pc)
releaseLuceePageContext
in class CFMLFactory
pc
- public void checkTimeout()
checkTimeout
in class CFMLFactory
public static void terminate(PageContextImpl pc)
public static RequestTimeoutException createRequestTimeoutException(PageContext pc)
public javax.servlet.jsp.JspEngineInfo getEngineInfo()
getEngineInfo
in class javax.servlet.jsp.JspFactory
public int getUsedPageContextLength()
getUsedPageContextLength
in class CFMLFactory
public ConfigWeb getConfig()
getConfig
in class CFMLFactory
public ConfigWebImpl getConfigWebImpl()
public ScopeContext getScopeContext()
public Object getLabel()
getLabel
in class CFMLFactory
public void setLabel(String label)
setLabel
in class CFMLFactory
label
- public javax.servlet.http.HttpServlet getServlet()
getServlet
in class CFMLFactory
public void setConfig(ConfigWebImpl config)
public Map<Integer,PageContextImpl> getActivePageContexts()
public long getPageContextsSize()
public void stopThread(String threadId, String stopType)
public QueryCache getDefaultQueryCache()
getDefaultQueryCache
in class CFMLFactory
Copyright © 2015 Lucee