Package com.avoka.fc.core.servlet
Class AccessLogFilter
- java.lang.Object
-
- com.avoka.fc.core.servlet.AccessLogFilter
-
- All Implemented Interfaces:
Filter
@Deprecated public class AccessLogFilter extends Object implements Filter
Deprecated.Provides a web request access logging filter which will write INFO level log messages for GET requests.
-
-
Constructor Summary
Constructors Constructor Description AccessLogFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
destroy()
Deprecated.Called by the web container to indicate to a filter that it is being taken out of service.void
doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain)
Deprecated.Log web GET request information at INFO level.void
init(FilterConfig config)
Deprecated.Called by the web container to indicate to a filter that it is being placed into service.
-
-
-
Method Detail
-
init
public void init(FilterConfig config) throws ServletException
Deprecated.Called by the web container to indicate to a filter that it is being placed into service.- Specified by:
init
in interfaceFilter
- Parameters:
config
- the filter config- Throws:
ServletException
- if an error occurs during initiation.- See Also:
Filter.init(FilterConfig)
-
destroy
public void destroy()
Deprecated.Called by the web container to indicate to a filter that it is being taken out of service.- Specified by:
destroy
in interfaceFilter
- See Also:
Filter.destroy()
-
doFilter
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain) throws IOException, ServletException
Deprecated.Log web GET request information at INFO level.- Specified by:
doFilter
in interfaceFilter
- Parameters:
servletRequest
- the servlet requestservletResponse
- the servlet responsechain
- the filter chain- Throws:
IOException
- if an I/O error occursServletException
- if a servlet error occurs- See Also:
Filter.doFilter(ServletRequest, ServletResponse, FilterChain)
-
-