public class ErrorLoggingFilter
extends java.lang.Object
implements javax.servlet.Filter
Init parameters for this filter are as follows:
| Constructor and Description |
|---|
ErrorLoggingFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected org.slf4j.Logger |
getLogger()
Note: Here for testing.
|
void |
init(javax.servlet.FilterConfig config) |
public void destroy()
destroy in interface javax.servlet.Filterpublic void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.Filterjava.io.IOExceptionjavax.servlet.ServletExceptionpublic void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionprotected org.slf4j.Logger getLogger()
Copyright © 2015 The Admin4J Project. All Rights Reserved.