org.codehaus.groovy.grails.web.servlet.filter
Class GrailsReloadServletFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.codehaus.groovy.grails.web.servlet.filter.GrailsReloadServletFilter
- All Implemented Interfaces:
- Filter, BeanNameAware, DisposableBean, InitializingBean, ServletContextAware
public class GrailsReloadServletFilter
- extends OncePerRequestFilter
A servlet filter that copies resources from the source on content change and manages reloading if necessary
- Since:
- Jan 10, 2006
- Author:
- Graeme Rocher
Methods inherited from class org.springframework.web.filter.GenericFilterBean |
addRequiredProperty, afterPropertiesSet, destroy, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setServletContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
context
GrailsApplicationContext context
application
GrailsApplication application
GrailsReloadServletFilter
public GrailsReloadServletFilter()
doFilterInternal
protected void doFilterInternal(HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse,
FilterChain filterChain)
throws ServletException,
IOException
- Specified by:
doFilterInternal
in class OncePerRequestFilter
- Throws:
ServletException
IOException
createResponseWriter
protected Writer createResponseWriter(HttpServletResponse response)
Copyright (c) 2005-2006 The Grails project