|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.wfnm.web.NoMultipleSubmitFilter
This filter allows to avoid multiple form submits.
Constructor Summary | |
NoMultipleSubmitFilter()
Creates a new PageNotifierFilter object. |
Method Summary | |
void |
destroy()
Destroy the filter. |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
Filter the request in order to notify that a page has been reached. |
void |
init(javax.servlet.FilterConfig filterConfig)
Initialize the filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NoMultipleSubmitFilter()
Method Detail |
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
servletRequest
- the servlet requestservletResponse
- the servlet responsefilterChain
- the filter chain
IOException
- if an input/output exception ocours
javax.servlet.ServletException
- if a servlet exception ocourspublic void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
filterConfig
- the filter configuration
javax.servlet.ServletException
- if a servlet exception ocours
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |