|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.nurelm.nucontent.controller.NuSiteMgrFilter
The purpose of this filter is to put the Site object
associated with the current siteId into the request object
before any NuContent page is called.
NOTE: The filter is not called when a servlet forwards a request to a view. However, the filter is called when a servlet redirects the request to a view.
| Constructor Summary | |
|---|---|
NuSiteMgrFilter()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Take this filter out of service. |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Does the work of putting the current Site object into this request attribute. |
void |
init(javax.servlet.FilterConfig filterConfig)
Place this filter into service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NuSiteMgrFilter()
| Method Detail |
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.FilterfilterConfig - The filter configuration object
javax.servlet.ServletException - Thrown by implemented class.public void destroy()
destroy in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.Filterrequest - The servlet request we are processingresponse - The servlet response we are creatingchain - The filter chain we are processing
java.io.IOException - if an input/output error occurs
javax.servlet.ServletException - if a servlet error occurs
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||