org.codehaus.groovy.grails.web.servlet.mvc
Class GrailsWebRequestFilter

java.lang.Object
  extended by org.springframework.web.filter.GenericFilterBean
      extended by org.springframework.web.filter.OncePerRequestFilter
          extended by org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequestFilter
All Implemented Interfaces:
Filter, BeanNameAware, DisposableBean, InitializingBean, ServletContextAware

public class GrailsWebRequestFilter
extends OncePerRequestFilter

Binds a GrailsWebRequestFilter to the currently executing thread.

Since:
0.4
Author:
Graeme Rocher

Field Summary
(package private)  Collection<ParameterCreationListener> paramListenerBeans
           
 
Fields inherited from class org.springframework.web.filter.OncePerRequestFilter
ALREADY_FILTERED_SUFFIX
 
Fields inherited from class org.springframework.web.filter.GenericFilterBean
logger
 
Constructor Summary
GrailsWebRequestFilter()
           
 
Method Summary
protected  void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
           
protected  void initFilterBean()
           
 void initialize()
           
 
Methods inherited from class org.springframework.web.filter.OncePerRequestFilter
doFilter, getAlreadyFilteredAttributeName, shouldNotFilter
 
Methods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, afterPropertiesSet, destroy, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, setBeanName, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paramListenerBeans

Collection<ParameterCreationListener> paramListenerBeans
Constructor Detail

GrailsWebRequestFilter

public GrailsWebRequestFilter()
Method Detail

doFilterInternal

protected void doFilterInternal(HttpServletRequest request,
                                HttpServletResponse response,
                                FilterChain filterChain)
                         throws ServletException,
                                IOException
Specified by:
doFilterInternal in class OncePerRequestFilter
Throws:
ServletException
IOException

initFilterBean

protected void initFilterBean()
                       throws ServletException
Overrides:
initFilterBean in class GenericFilterBean
Throws:
ServletException

initialize

public void initialize()