|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.davesag.generica.servlet.filter.PresentationFilter
The PresentationFilter triggers the supplied Presenter.
| Constructor Summary | |
PresentationFilter()
|
|
| Method Summary | |
void |
destroy()
just nulls out the instance variables. |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
checks for the user key in the current session. |
void |
init(FilterConfig config)
Initialise the filter with the params from the web.xml
file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PresentationFilter()
| Method Detail |
public void init(FilterConfig config)
throws ServletException
web.xml
file. The required param is "presenter".
init in interface Filterconfig - The FilterConfig.
ServletException - if could not load a presenter.public void destroy()
destroy in interface Filter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
doFilter in interface Filterrequest - The ServletRequestresponse - The ServletResponsechain - The FilterChain
IOException - if some IO problem happens.
ServletException - if some any other kind of problem happens.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||