Mark, On 12/5/2010 12:31 PM, Mark Thomas wrote: > On 03/12/2010 16:07, schu...@apache.org wrote: >> Author: schultz >> Date: Fri Dec 3 16:07:50 2010 >> New Revision: 1041892 >> >> URL: http://svn.apache.org/viewvc?rev=1041892&view=rev >> Log: >> Fixed bug 48692: Provide option to parse application/x-www-form-urlencoded >> PUT requests > > Some minor comments in-line. > >> + public boolean isParseBodyMethod(String method) > This method could (should?) be protected rather then public.
While fixing the other issues, I was thinking about a few things. Nearly all methods in the Connector class are public, not protected. The mutators are the only dangerous methods and they must be public so that the Digester can set them during Connector configuration. Is there a compelling reason to make the isParseBodyMethod method protected? Or, is that simply considered an implementation detail that should be hidden from the public API? I'm open to either strategy. Thanks, -chris
signature.asc
Description: OpenPGP digital signature