Alex Rudyy created QPID-6616:
--------------------------------

             Summary: Rename TypedContent into Content, introduce ContentHeader 
annotation to mark methods returning values for content headers and move 
responsibility to write content to the implementations
                 Key: QPID-6616
                 URL: https://issues.apache.org/jira/browse/QPID-6616
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Alex Rudyy
             Fix For: 6.0 [Java]


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to