|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.servlet.JumpersFilter
public class JumpersFilter
Redirects request based on information supplied by the jumpers builder.
| Constructor Summary | |
|---|---|
JumpersFilter()
|
|
| Method Summary | |
|---|---|
void |
destroy()
destroys the filter |
void |
doFilter(ServletRequest servletRequest,
ServletResponse servletResponse,
FilterChain filterChain)
Filters the request: tries to find a jumper and redirects to this url when found, otherwise the request will be handled somewhere else in the filterchain. |
FilterConfig |
getFilterConfig()
Deprecated. will be dropped in future versions |
MMBase |
getMMBase()
Returns the currently set MMBase object. |
void |
init(FilterConfig filterConfig)
Initializes the filter |
void |
setFilterConfig(FilterConfig fc)
Deprecated. will be dropped in future versions |
void |
setInitException(ServletException se)
If something went wrong (an exception occured), the caller may is informed by a call to this method. |
void |
setMMBase(MMBase mmb)
Set MMBase object after initializion, in the caller. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JumpersFilter()
| Method Detail |
|---|
public void setFilterConfig(FilterConfig fc)
public FilterConfig getFilterConfig()
public MMBase getMMBase()
MMBaseStarter
getMMBase in interface MMBaseStarterpublic void setMMBase(MMBase mmb)
MMBaseStarter
setMMBase in interface MMBaseStarterpublic void setInitException(ServletException se)
MMBaseStarter
setInitException in interface MMBaseStarter
public void init(FilterConfig filterConfig)
throws ServletException
init in interface FilterServletException
public void doFilter(ServletRequest servletRequest,
ServletResponse servletResponse,
FilterChain filterChain)
throws IOException,
ServletException
doFilter in interface FilterservletRequest - The ServletRequest.servletResponse - The ServletResponse.filterChain - The FilterChain.
IOException
ServletExceptionpublic void destroy()
destroy in interface Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||