You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2008/01/10 20:45:34 UTC
[jira] Commented: (HTTPCORE-139) allow explicit unsetting of
parameters in stacks or hierarchies
[ https://issues.apache.org/jira/browse/HTTPCORE-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557762#action_12557762 ]
Oleg Kalnichevski commented on HTTPCORE-139:
--------------------------------------------
Why not just that?
====
public final class BasicHttpParams extends AbstractHttpParams
implements Serializable, Cloneable {
...
public Object getParameter(final String name) {
Object param = null;
if (this.parameters != null) {
param = this.parameters.get(name);
}
if (NoParamValue.NULL.equals(param)) {
param = null;
}
return param;
}
...
====
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org