String debugGetAllHttpHdrs(HttpServletRequest req) {
        if (req == null)
            return null;
        StringBuffer sb = new StringBuffer(512);
        Enumeration<String> headerNames = req.getHeaderNames();
        while (headerNames != null && headerNames.hasMoreElements()) {
            String headerName = headerNames.nextElement();
            sb.append(headerName).append("=");
            sb.append("[").append(SRTServletRequestUtils.getHeader(req, headerName)).append("]\n");
        }
        return sb.toString();
    }
String debugGetAllHttpHdrs ( HttpServletRequest req ) { if ( req == null ) return null ; StringBuffer sb = new StringBuffer ( 512 ) ; Enumeration < String > headerNames = req . getHeaderNames ( ) ; while ( headerNames != null && headerNames . hasMoreElements ( ) ) { String headerName = headerNames . nextElement ( ) ; sb . append ( headerName ) . append ( "=" ) ; sb . append ( "[" ) . append ( SRTServletRequestUtils . getHeader ( req , headerName ) ) . append ( "]\n" ) ; } return sb . toString ( ) ; }
Debug method used to collect all the Http header names and values.

@param webAppSecurityCollaboratorImpl TODO
@param req HttpServletRequest
@return Returns a string that contains each parameter and it value(s)
in the HttpServletRequest object.