[
https://issues.apache.org/jira/browse/HTTPCLIENT-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512785
]
Roland Weber commented on HTTPCLIENT-665:
-----------------------------------------
Changing attribute visibility in HttpState will only affect applications that
extend this class and use the same attribute names.
If I am not mistaken, Java allows re-use of attribute names in derived classes,
and scoping will make sure that the behavior remains the same as it is now.
If there are problems with name clashes, the workaround is to rename the
attributes in the derived classes.
Based on the non-impact on existing applications, I am in favor of this change.
cheers,
Roland
> Change access to internal maps of HttpState to protected.
> ---------------------------------------------------------
>
> Key: HTTPCLIENT-665
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-665
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient
> Affects Versions: 3.0 Final
> Reporter: Lars George
> Priority: Trivial
>
> To be able to serialize the conversational state of a http session access to
> the internal maps of HttpState is required. Currently they are all "private",
> so subclasses cannot access them. Changing the access to "protected" will
> allow any subclass to access those maps.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]