PopulateResponseStatusHandler ignores status passed in context
--------------------------------------------------------------

                 Key: WINK-348
                 URL: https://issues.apache.org/jira/browse/WINK-348
             Project: Wink
          Issue Type: Bug
          Components: Build
    Affects Versions: 1.1.3
         Environment: Development
            Reporter: Varesh Tapadia


A user can set a response status in the requesthandler by calling the method 
context.setResponseStatusCode().
However, this value is not used in the PopulateResponseStatusHandler where the 
status is default assigned to -1 and this value is ignored.
This leads to issues where your entity is not of Type Response but you still 
want to set a status.

A workaround is to wrap all the objects into response in the request handler 
however, this should have been supported.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to