Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-65

Allow for explicit null in HttpContext and HttpParams

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 4.0-alpha4
    • None
    • HttpCore
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rolandw Roland Weber
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: