[ http://issues.apache.org/jira/browse/HTTPCLIENT-615?page=comments#action_12457862 ] Roland Weber commented on HTTPCLIENT-615: -----------------------------------------
Hi Oleg, good idea. I would also suggest to remove everything that identifies the host itself: getHost(), getHostName(), getHostURL(), getPort(), getScheme() By leaving only the actual configuration parameters in the class, the same object can be applied to multiple hosts. If you feel that would be too much of a change for now, I'd tackle it early next year. cheers, Roland > Consider making HostConfiguration immutable > ------------------------------------------- > > Key: HTTPCLIENT-615 > URL: http://issues.apache.org/jira/browse/HTTPCLIENT-615 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpConn > Reporter: Oleg Kalnichevski > Fix For: 4.0 Alpha 1 > > > HostConfiguration class should be immutable. This should also allow methods > of this class to be non-synchronized. > Oleg -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
