You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2015/06/29 16:30:05 UTC

[jira] [Created] (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

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org