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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to