Marginally more efficient

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1486059 13f79535-47bb-0310-9956-ffa450edef68
Implement new isFinished() method that identifies when a request body has been fully read. Required since available()==0 != isFinished()

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1486060 13f79535-47bb-0310-9956-ffa450edef68
Use new isFinished() method rather than available==0
Check if body has been read in non-blocking mode when exiting service method

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1486061 13f79535-47bb-0310-9956-ffa450edef68
Add a test case for bug 54928

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1486062 13f79535-47bb-0310-9956-ffa450edef68
Modify test to check onAllDataRead() is called correctly

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