tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Setting Connector attributes
Date Tue, 14 Dec 2010 21:08:28 GMT

I was looking at and starting to
write a patch which involves a new Connector option.

I noticed that (for example) Connector.setUseBodyEncodingForURI sets
it's own state, then calls setProperty("useBodyEncodingForURI", ...)
which sets an equivalent property on the protocol handler being used for
the connector.

Other setters, such as setMaxPostSize, do not call setProperty (though
setMaxSavePostSize does). Should all setters call setProperty and should
all protocol handlers mirror all properties, or is there some rule of
thumb I can use to determine whether my new property should be added to
the protocol handler and then use setProperty?


View raw message