org.mmbase.servlet
Class CloudThreadFilter

java.lang.Object
  extended by org.mmbase.servlet.CloudThreadFilter
All Implemented Interfaces:
Filter

public class CloudThreadFilter
extends Object
implements Filter

Servlet Filter which associates a cloud of a http session to the current thread. The filter removes the cloud again when the request is processed


Constructor Summary
CloudThreadFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void init(FilterConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloudThreadFilter

public CloudThreadFilter()
Method Detail

init

public void init(FilterConfig config)
Specified by:
init in interface Filter
See Also:
Filter.init(javax.servlet.FilterConfig)

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws ServletException
Specified by:
doFilter in interface Filter
Throws:
ServletException
See Also:
Filter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)

destroy

public void destroy()
Specified by:
destroy in interface Filter
See Also:
Filter.destroy()


MMBase 2.0-SNAPSHOT - null