Hi,

Am 30.09.2021 um 09:47 schrieb Bertrand Delacretaz:
Hi,

On Wed, Sep 29, 2021 at 6:40 PM Carsten Ziegeler <[email protected]> wrote:
...we should probably have some proper
API to create an initial request and response without backing it out or
wrapping an existing request / response...

IIUC you mean a service or utility class that provides objects that
implement SlingHttpServletRequest and SlingHttpServletResponse and can
be used for example with the SlingRequestProcessor service?

That works for me, just wanted to make sure I understand.


yes, right - I guess some builder classes we add to the API that create objects implementing SlingHttpServletRequest and SlingHttpServletResponse

I'll probably create a prototype in the whiteboard which we then can further discuss

Regards
Carsten

...I don't have any real preference, API is probably the better location as
this is general purpose functionality which can be used without the
processor...

I agree that the API bundle is a good place, with the new class or
service in its own package to avoid interference with other things.

-Bertrand


--
Carsten Ziegeler
Adobe
[email protected]

Reply via email to