public class RequestIdFilter extends AbstractGenericFilterBean
Constructor and Description |
---|
RequestIdFilter(java.lang.String headerName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
Same contract as for
doFilter . |
doFilter
public RequestIdFilter(java.lang.String headerName)
headerName
- the name of the header to store the Hawaii request id.protected void doFilterInternal(javax.servlet.http.HttpServletRequest request, 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