Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3988

org.apache.cxf.jaxrs.ext.multipart.Attachment object should be mutable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.1
    • 2.4.6, 2.5.2
    • JAX-RS
    • None
    • Unknown

    Description

      As currently coded, the headers in an Attachment are immutable after construction. This prevents a construction like:

      • call a convenient constructor
      • add one more header

      Rather than change the contract of getHeaders, I propose to add put/putSingle to the contract of Attachment.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bmargulies Benson Margulies
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: