You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/06/17 01:25:02 UTC
[jira] [Resolved] (ISIS-1145) REST action invocations support
limited conneg to JAXB-marshalled DTOs
[ https://issues.apache.org/jira/browse/ISIS-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood resolved ISIS-1145.
-------------------------------
Resolution: Fixed
> REST action invocations support limited conneg to JAXB-marshalled DTOs
> ----------------------------------------------------------------------
>
> Key: ISIS-1145
> URL: https://issues.apache.org/jira/browse/ISIS-1145
> Project: Isis
> Issue Type: New Feature
> Components: Core: Viewer: RestfulObjects
> Affects Versions: core-1.8.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: 1.9.0
>
>
> invoking any of the action/invoke resources (in the usual fashion) with an Accept header of
> "application/xml;profile=urn:org.restfulobjects:repr-types/action-result;x-ro-domain-type=todoapp.dto.module.todoitem.ToDoItemDto"
> will check that the returned object is of the specified type, and return it as XML payload.
> Otherwise will return a 406.
> If there is no Accept header or is "application/json", then retain original behaviour.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)