|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.webwork.lifecycle.RequestLifecycleFilter
A filter to handle the lifecycle of an HTTP request-based XWork component manager.
Constructor Summary | |
RequestLifecycleFilter()
|
Method Summary | |
protected com.opensymphony.xwork.interceptor.component.DefaultComponentManager |
createComponentManager()
Returns a new DefaultComponentManager instance. |
void |
destroy()
Does nothing. |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
Initializes an XWork component manager for the lifetime of the request. |
protected ServletContext |
getServletContext(HttpSession session)
Servlet 2.3 specifies that the servlet context can be retrieved from the session. |
void |
init(FilterConfig filterConfig)
Does nothing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequestLifecycleFilter()
Method Detail |
public void destroy()
destroy
in interface Filter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
doFilter
in interface Filter
request
- the ServletRequest objectresponse
- the ServletResponse objectchain
- the FilterChain object
IOException
- if an error occurs while executing the filter
ServletException
- if an error occurs while executing the filterpublic void init(FilterConfig filterConfig) throws ServletException
init
in interface Filter
ServletException
protected ServletContext getServletContext(HttpSession session)
session
- the HTTP session where, in Servlet 2.3, the servlet context can be retrieved
protected com.opensymphony.xwork.interceptor.component.DefaultComponentManager createComponentManager()
|
WebWork Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |