You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Created) (JIRA)" <ji...@apache.org> on 2011/12/19 13:15:30 UTC

[jira] [Created] (SLING-2333) Need a more flexible way of processing the response Entity in RequestExecutor

Need a more flexible way of processing the response Entity in RequestExecutor
-----------------------------------------------------------------------------

                 Key: SLING-2333
                 URL: https://issues.apache.org/jira/browse/SLING-2333
             Project: Sling
          Issue Type: Improvement
          Components: Testing
            Reporter: Bertrand Delacretaz
            Priority: Minor


The testing/tools RequestExecutor is mostly hardwired for String responses (in its execute() method), and testing binary responses is not convenient.

Letting the RequestObject provide an EntityConsumer would make things more flexible, and the default consumer can implement the same behavior that we have now.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira