You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/06/29 17:29:04 UTC

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

    [ https://issues.apache.org/jira/browse/QPID-6616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14605759#comment-14605759 ] 

ASF subversion and git services commented on QPID-6616:
-------------------------------------------------------

Commit 1688251 from orudyy@apache.org in branch 'java/trunk'
[ https://svn.apache.org/r1688251 ]

QPID-6616: Rename TypedContent into Content
           introduce ContentHeader annotation to mark methods returning values for content headers
           move responsibility to write content to the implementations
           set HTTP headers in REST layer from the Content implementation methods annotated with ContentHeader
               (work by Lorenz Quack and Alex Rudyy)

> 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