Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1184

Cannot remove property from client configuration

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.10.Final
    • Fix Version/s: 3.0.12.Final
    • Component/s: None
    • Labels:
      None

      Description

      The javadoc [1] for javax.ws.rs.core Configurable interface says that:

      "An existing property can be removed by assigning a null value to the property. "

      By client.property(some_property, null) this is not possible.
      ResteasyProviderFactory.property() method only adds the properties, but has no way to remove it if the value of the property is null.

      [1] http://docs.jboss.org/resteasy/docs/3.0.9.Final/javadocs/index.html

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kanovotn Katerina Novotna
                  Reporter:
                  kanovotn Katerina Novotna
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: