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 2007/04/11 17:07:32 UTC

[jira] Resolved: (HTTPCORE-65) Allow for explicit null in HttpContext and HttpParams

     [ https://issues.apache.org/jira/browse/HTTPCORE-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roland Weber resolved HTTPCORE-65.
----------------------------------

    Resolution: Won't Fix

As long as you can guarantee that the behavior of all components for any null parameter is identical to that of one specific parameter that is explicitly given, this will not be needed.

> Allow for explicit null in HttpContext and HttpParams
> -----------------------------------------------------
>
>                 Key: HTTPCORE-65
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-65
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 4.0-alpha4
>            Reporter: Roland Weber
>            Priority: Minor
>
> Both HttpContext and HttpParams support hierarchies. The current implementations ([Sync]HttpExecutionContext, BasicHttpParams) do allow for overriding a parent/default value with another value, but they do not allow for overriding with null. Implementation alternatives:
> - lookup the map entry instead of the value, do not fall back to parent/default if an entry is there with a null value
> - use a dedicated constant to represent an explicit null value
> cheers,
>   Roland

-- 
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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org