Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46727
 Refactor default servlet to make it easier to sub-class to implement finer grained control of the file encoding. Based on a patch by Fred Toth.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1524400 13f79535-47bb-0310-9956-ffa450edef68
A few more false positives

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1524418 13f79535-47bb-0310-9956-ffa450edef68
Update

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1524419 13f79535-47bb-0310-9956-ffa450edef68