|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjodd.madvoc.MadvocServletFilter
public class MadvocServletFilter
Default Madvoc servlet filter.
Field Summary | |
---|---|
protected MadvocController |
controller
|
protected javax.servlet.FilterConfig |
filterConfig
|
protected WebApplication |
webapp
|
Constructor Summary | |
---|---|
MadvocServletFilter()
|
Method Summary | |
---|---|
void |
destroy()
|
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 MadvocConfigurator |
loadMadvocConfig(java.lang.String className)
Loads MadvocConfigurator . |
protected WebApplication |
loadWebApplication(java.lang.String className)
Loads WebApplication . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.servlet.FilterConfig filterConfig
protected WebApplication webapp
protected MadvocController controller
Constructor Detail |
---|
public MadvocServletFilter()
Method Detail |
---|
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
protected WebApplication loadWebApplication(java.lang.String className) throws javax.servlet.ServletException
WebApplication
. If class name is null
,
default web application will be loaded.
javax.servlet.ServletException
protected MadvocConfigurator loadMadvocConfig(java.lang.String className) throws javax.servlet.ServletException
MadvocConfigurator
. If class name is null
,
AutomagicMadvocConfigurator
will be created.
javax.servlet.ServletException
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |