[
https://issues.apache.org/jira/browse/HTTPCORE-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557768#action_12557768
]
Oleg Kalnichevski commented on HTTPCORE-139:
--------------------------------------------
Disregard my previous post. I picked up the wrong class. How about this?
===
public final class DefaultedHttpParams extends AbstractHttpParams {
...
public Object getParameter(final String name) {
Object obj = this.local.getParameter(name);
if (NoParamValue.NULL.equals(obj)) {
return null;
}
if (obj == null && this.defaults != null) {
obj = this.defaults.getParameter(name);
}
return obj;
}
===
Oleg
> allow explicit unsetting of parameters in stacks or hierarchies
> ---------------------------------------------------------------
>
> Key: HTTPCORE-139
> URL: https://issues.apache.org/jira/browse/HTTPCORE-139
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore
> Affects Versions: 4.0-alpha6
> Reporter: Roland Weber
> Assignee: Roland Weber
> Priority: Minor
> Fix For: 4.0-beta1
>
> Attachments: 2k8-01-10-null-param.txt
>
>
> Patch for the "global null" approach to follow.
--
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]