You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Roland Weber (JIRA)" <ji...@apache.org> on 2006/12/12 21:08:22 UTC
[jira] Commented: (HTTPCLIENT-615) Consider making
HostConfiguration immutable
[ 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org