|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttomp.xtcl.servlet.ContextUtilFactory
Field Summary | |
protected static java.lang.String |
XTCL_CONTEXT
|
protected static java.lang.String |
XTCL_CONTEXT_UTIL
|
Constructor Summary | |
ContextUtilFactory()
|
|
ContextUtilFactory(javax.servlet.ServletConfig cfg)
|
Method Summary | |
Context |
getContext(javax.servlet.http.HttpSession ses)
|
Context |
getContext(javax.servlet.ServletContext sc)
|
ContextUtil |
getContextUtil(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns the ContextUtil from the current HttpServletRequest |
protected java.lang.String |
getRequestContextInitPg()
|
protected java.lang.String |
getServletContextContextInitPg()
|
protected java.lang.String |
getSessionContextInitPg()
|
ContextUtil |
hasContextUtil(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns the ContextUtil from the current HttpServletRequest |
protected void |
init(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Initializes Context for this HttpServletRequest |
protected void |
init(Context context,
javax.servlet.http.HttpSession session)
Initializes Context for this HttpSession |
protected void |
init(Context context,
javax.servlet.ServletContext servletContext)
Initializes Context for the whole application (servlet context) |
protected void |
init(ContextUtil cu,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Initialize the ContextUtil to the Request |
protected ContextUtil |
newContextUtil()
Constructs new instance of the desired implementation of the ContextUtil |
protected void |
postInit(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
preInit(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
putContext(Context c,
javax.servlet.http.HttpSession ses)
|
void |
putContext(Context c,
javax.servlet.ServletContext sc)
|
void |
putContextUtil(ContextUtil cu,
javax.servlet.http.HttpServletRequest req)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String XTCL_CONTEXT
protected static final java.lang.String XTCL_CONTEXT_UTIL
Constructor Detail |
public ContextUtilFactory()
public ContextUtilFactory(javax.servlet.ServletConfig cfg)
Method Detail |
protected java.lang.String getRequestContextInitPg()
protected java.lang.String getSessionContextInitPg()
protected java.lang.String getServletContextContextInitPg()
protected void init(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void preInit(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void postInit(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void init(Context context, javax.servlet.http.HttpSession session)
protected void init(Context context, javax.servlet.ServletContext servletContext)
protected ContextUtil newContextUtil()
protected void init(ContextUtil cu, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerConfigurationException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerConfigurationException
public ContextUtil getContextUtil(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerConfigurationException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerConfigurationException
public ContextUtil hasContextUtil(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerConfigurationException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerConfigurationException
public Context getContext(javax.servlet.http.HttpSession ses)
public Context getContext(javax.servlet.ServletContext sc)
public void putContextUtil(ContextUtil cu, javax.servlet.http.HttpServletRequest req)
public void putContext(Context c, javax.servlet.http.HttpSession ses)
public void putContext(Context c, javax.servlet.ServletContext sc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |