[
https://issues.apache.org/jira/browse/QPID-6616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Rudyy resolved QPID-6616.
------------------------------
Resolution: Fixed
Code is reviewed whilst pairing with Lorenz
> 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
> Assignee: Alex Rudyy
> Fix For: qpid-java-6.0
>
>
> 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]