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

preserve manually added AtomLinks (using addLink on RESTServiceDiscovery field)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.0.17.Final
    • 2.3.2.Final, 3.0.16.Final
    • None
    • None

      We would like to addLink to existing RESTServiceDiscovery field manually in code. Unfortunately RESTUtils.addDiscovery method resets the RESTServiceDiscovery field to the new RESTServiceDiscovery() so all the manually added AtomLinks (using addLink) are lost.

      Is it possible to preserve manually added AtomLinks? It could be a simple patch in RESTUtils.java preserving existing RESTServiceDiscovery field (and thus the atom link collection) if there is one already set.

              patriot1burke@gmail.com Bill Burke (Inactive)
              dip239 Dmitry Palchun (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified