tomcat-dev mailing list archives

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

I was looking at
https://issues.apache.org/bugzilla/show_bug.cgi?id=49711 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?

Thanks,
-chris


Mime
View raw message