Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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