public class RequestResponseLogFilter extends AbstractGenericFilterBean
For more inspiration see AbstractRequestLoggingFilter.
Constructor and Description |
---|
RequestResponseLogFilter(RequestResponseLogFilterConfiguration configuration,
HttpRequestResponseLogUtil httpRequestResponseLogUtil)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
Same contract as for
doFilter . |
protected void |
initFilterBean() |
doFilter
public RequestResponseLogFilter(RequestResponseLogFilterConfiguration configuration, HttpRequestResponseLogUtil httpRequestResponseLogUtil)
protected void doFilterInternal(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain) throws javax.servlet.ServletException, java.io.IOException
doFilter
.doFilterInternal
in class AbstractGenericFilterBean
javax.servlet.ServletException
java.io.IOException
protected void initFilterBean()
initFilterBean
in class org.springframework.web.filter.GenericFilterBean