org.inspektr.common.web
Class ClientInfoThreadLocalFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.inspektr.common.web.ClientInfoThreadLocalFilter
- All Implemented Interfaces:
- javax.servlet.Filter, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.web.context.ServletContextAware
public class ClientInfoThreadLocalFilter
- extends org.springframework.web.filter.OncePerRequestFilter
Creates a ClientInfo object and passes it to the ClientInfoHolder
- Since:
- 1.0
- Version:
- $Revision$ $Date$
- Author:
- Scott Battaglia
Fields inherited from class org.springframework.web.filter.OncePerRequestFilter |
ALREADY_FILTERED_SUFFIX |
Fields inherited from class org.springframework.web.filter.GenericFilterBean |
logger |
Method Summary |
void |
destroy()
|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
|
Methods inherited from class org.springframework.web.filter.OncePerRequestFilter |
doFilter, getAlreadyFilteredAttributeName, shouldNotFilter |
Methods inherited from class org.springframework.web.filter.GenericFilterBean |
addRequiredProperty, afterPropertiesSet, 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 |
ClientInfoThreadLocalFilter
public ClientInfoThreadLocalFilter()
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Overrides:
destroy
in class org.springframework.web.filter.GenericFilterBean
doFilterInternal
protected void doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
doFilterInternal
in class org.springframework.web.filter.OncePerRequestFilter
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2007-2009. All Rights Reserved.