Sling
  1. Sling
  2. SLING-2333

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Testing
    • Labels:
      None

      Description

      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.

        Activity

        Gavin made changes -
        Workflow re-open possible,doc-test-required [ 12788498 ] no-reopen-closed,doc-test-required [ 12791178 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12766536 ] re-open possible,doc-test-required [ 12788498 ]
        Gavin made changes -
        Workflow Copy of no-reopen-closed,doc-test-required [ 12762710 ] no-reopen-closed,doc-test-required [ 12766536 ]
        Gavin made changes -
        Field Original Value New Value
        Workflow no-reopen-closed,doc-test-required [ 12646406 ] Copy of no-reopen-closed,doc-test-required [ 12762710 ]
        Bertrand Delacretaz created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Bertrand Delacretaz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development