|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WebContext | |
org.webmacro | |
org.webmacro.servlet |
Uses of WebContext in org.webmacro |
Methods in org.webmacro that return WebContext | |
WebContext |
WM.getWebContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Instantiate a new webcontext from a pool. |
WebContext |
WebMacro.getWebContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Create a new WebContext object. |
Uses of WebContext in org.webmacro.servlet |
Methods in org.webmacro.servlet that return WebContext | |
WebContext |
WebContext.newInstance(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Create a new WebContext like this one, only with new values for request and response |
WebContext |
WMServlet.getWebContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Create a new WebContext object |
WebContext |
WMServlet.newContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
This method is called at the beginning of a request and is responsible for providing a Context for the request. |
WebContext |
WMServlet.initWebContext()
This method must return a cloneable WebContext which can be cloned for use in responding to individual requests. |
Methods in org.webmacro.servlet with parameters of type WebContext | |
protected Template |
WMServlet.error(WebContext context,
java.lang.String error)
Create an error template using the built in error handler. |
protected void |
WMServlet.execute(Template tmpl,
WebContext c)
This method takes a populated context and a template and writes out the interpreted template to the context's output stream. |
abstract Template |
WMServlet.handle(WebContext context)
This method is called to handle the processing of a request. |
void |
WMServlet.destroyContext(WebContext wc)
This method is called at the end of a request and is responsible for cleaning up the Context at the end of the request. |
Template |
Handler.accept(WebContext contextData)
This is the primary method you override to create a new handler. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |