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

Support non-path-parameters in LinkResource

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • 3.0.16.Final
    • None

      In order to implement paging using resteasy-links I faced a problem concerning the parameter binding.
      Currently the LinkResource annotation only supports path parameters for the atom link definition. This is enough when only adding default atom links (self, list, CRUD). But in order to add more advanced customized links (f.e. for paging) it is necessary to support the other types of parameters (query and matrix).

      Jersey for example provides the Binding annotation which allows binding a parameter name to a value specified in EL (maybe the type should also be contained). Such binding definitions could then easily be used in RESTUtils#buildURI.

              weli@redhat.com Weinan Li
              rushead Alexander Rashed (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: