Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-324

Cannot remove property from client configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.DR11
    • 7.0.0.DR3
    • REST
    • None

      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

              kanovotn Katerina Odabasi
              kanovotn Katerina Odabasi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: