Add test cases for name checks in spec Cookie class

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556276 13f79535-47bb-0310-9956-ffa450edef68
fix test after switching from STRICT_SERVLET to more specific properties

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556313 13f79535-47bb-0310-9956-ffa450edef68
Refactor ServerCookie to separate cookie state from the helper code used to generate the header. This change is purely a movement of code to improve readability.

ServerCookie is now a pure data object holding MessageBytes, typically resulting from the parse of the Cookie header done by Cookies. 
The appendCookieValue static helper method is moved to a new class, SetCookieSupport, that Response uses when addCookie is called.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556328 13f79535-47bb-0310-9956-ffa450edef68
Back to a proper Commons Pool release now 2.1 has been released (DBCP snapshot requires Pool 2.1 or later)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556336 13f79535-47bb-0310-9956-ffa450edef68
Simplify interface to SetCookieSupport.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556418 13f79535-47bb-0310-9956-ffa450edef68
Inline method call and eliminate an unneeded StringBuffer allocation.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556423 13f79535-47bb-0310-9956-ffa450edef68
Move methods only used by SetCookieSupport into that class.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556434 13f79535-47bb-0310-9956-ffa450edef68
test cases for Set-Cookie generation

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556449 13f79535-47bb-0310-9956-ffa450edef68
Followup to r889966:
The genStrAsCharArray init param in Jasper has been renamed to genStringAsCharArray in Tomcat 7.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556725 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55888
Clarify that Container elements may only no more than one Realm.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556783 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55937
Treat a context path of "/ROOT" as equivalent to "" (i.e. it is treated as the ROOT application).
Note that when deploying an application via the manager text interface to /ROOT, it was deployed as the ROOT application but reported that the deployment had failed. It now deploys it as the ROOT application and reports a successful deployment to the context path "/"

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556788 13f79535-47bb-0310-9956-ffa450edef68
Fix auto-boxing warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556804 13f79535-47bb-0310-9956-ffa450edef68
Suppress unused code warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556806 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55958
Differentiate between foo.war the directory and foo.war the file

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556807 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55960
Improve SSO unit tests
Patch by Brian Burch

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556823 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55970
Ignore non-JAR resources in WEB-INF/lib when checking to see if a reloadable web application has updated JARs.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556834 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55974
Preserve the order of reported errors and warnings

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1556929 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55976
Fix sendfile support on NIO

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