On 05/03/2012 22:22, Shing Wai Chan wrote:
> On 2/29/12 1:41 AM, Minoru Nitta wrote:
>> Hi,
>>
>> Some trivial feedback.
>>
>> Return value type of javax.servlet.ServletRequest#getContentLength
>> should be long not int, because Servlet has handled big data recently.
>>
>> Changing return value type could cause problems so we should consider
>> (1)changing return value type or (2) adding a new method (e.g.
>> getContentLengthLong) whose return type is long.
> (1) will break backward compatibility.
Tomcat already has something very like 2. IT was added to improve the
handling of very large files. I'm +1 on adding such a method.
Mark