Further work for https://issues.apache.org/bugzilla/show_bug.cgi?id=56029
Review from kkolinko
- Fix bug in parsing functions and whitespace
- More efficient resetting of StringBuidler
- Use String.substring() for token and whitespace
- avoid unnecessary use of trim()

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1560023 13f79535-47bb-0310-9956-ffa450edef68
Fix line endings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1560024 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56032
After an IO error sending a WebSocket message, close the connection.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1560159 13f79535-47bb-0310-9956-ffa450edef68
Back port unit test fixes / improvements

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1560214 13f79535-47bb-0310-9956-ffa450edef68
Merging ELParser changes from trunk, to better align TC7 code with trunk here
(proposed TC6 patch for BZ 56029 already ports these changes to Tomcat 6)

This commit is a merge of r1374086 minus Java 7 generics changes:
Code clean-up
 - UCDetector use of final
........


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1560237 13f79535-47bb-0310-9956-ffa450edef68
Merging ELParser changes from trunk, to better align TC7 code with trunk here
(proposed TC6 patch for BZ 56029 already ports these changes to Tomcat 6)

Merged r1410742 from tomcat/trunk:
Refactor since returning -1 makes no sense with chars. The old code worked but it was a little odd (and FindBugs didn't like it).
........


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1560238 13f79535-47bb-0310-9956-ffa450edef68
Merging ELParser changes from trunk, to better align TC7 code with trunk here
(proposed TC6 patch for BZ 56029 already ports these changes to Tomcat 6)

Merged r1560177 from tomcat/trunk:
Remove unnecessary code
........

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1560240 13f79535-47bb-0310-9956-ffa450edef68
Need different value for BIO on 7.0.x as it is the default.

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