Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6616

Rename TypedContent into Content, introduce ContentHeader annotation to mark methods returning values for content headers and move responsibility to write content to the implementations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-6.0
    • Broker-J
    • None

    Description

      At the moment TypedContent implementations have extra methods to get values for various HTTP headers.

      We need to generalize the TypedContent implementations and introduce ContentHeader annotation to mark methods returning values for content headers.

      Rename TypedContent into Content and move responsibility to write content to the implementations

      Additionally, REST layer should be able to scan ContentHeader annotations declared on Content methods and set corresponding headers

      Attachments

        Activity

          People

            orudyy Alex Rudyy
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: