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

QueryParam with List value should support comma separated value as well

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      When using a list as a QueryParam, (@QueryParam List strings),
      following url works fine -
      ?strings=123&strings=456
      this works and you get array with 2 values.

      but when you pass the value as follows -
      ?strings=123,456
      it gives "123,456" as a single value which is not expected behaviour.
      comma separation in values of QueryParam are supported by all the major frameworks.

              rsigal@redhat.com Ronald Sigal
              naitik333 Naitik Nisar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: