jsr340-experts@servlet-spec.java.net

[jsr340-experts] Re: Candidate for Servlet 3.1 Early draft review

From: Minoru Nitta <minoru.nitta_at_jp.fujitsu.com>
Date: Wed, 29 Feb 2012 18:41:30 +0900

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.

There are some typos in EDR (Servlet#int -> Servlet#init).


Thank you.
Minoru