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

ResteasyHttpHeaders.getRequestHeaders() and ResteasyHttpHeaders.getRequestHeader() must return not modifiable collection

    XMLWordPrintable

Details

    Description

      According to JAX-RS javadoc for:

      • HttpHeaders.getRequestHeaders(), the returned map must be read-only if any
      • HttpHeaders.getRequestHeader(String), the returned list must be read-only

      It appears that org.jboss.resteasy.specimpl.ResteasyHttpHeaders does not follow those two points.

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            nicones Nicolas NESMON
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: