public class MadvocServletFilter
extends java.lang.Object
implements javax.servlet.Filter
controller
part
of the Madvoc framework.Modifier and Type | Field and Description |
---|---|
protected Madvoc |
madvoc |
protected MadvocController |
madvocController |
Constructor and Description |
---|
MadvocServletFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Filter destruction.
|
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
Builds
ActionRequest and invokes it. |
void |
init(javax.servlet.FilterConfig filterConfig)
Filter initialization.
|
protected boolean |
processUnhandledPath(java.lang.String actionPath,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Process unconsumed action paths.
|
protected Madvoc madvoc
protected MadvocController madvocController
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
ActionRequest
and invokes it. If action result is a chain, it repeats the process.doFilter
in interface javax.servlet.Filter
java.io.IOException
javax.servlet.ServletException
protected boolean processUnhandledPath(java.lang.String actionPath, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
true
if action path is consumed,
otherwise returns false
so to be consumed by filter chain.Copyright © 2003-present Jodd Team