So you want to make an HTTP request from within Sling to itself?
I wouldn't recommend doing this, but I see no problem of having this as a new separate module, maybe starting in the whiteboard.

Regards
Carsten

Am 02.06.2020 um 06:10 schrieb Andreas Schaefer:
Hi

As of know - and place correct me if I am wrong - there is no way for a service 
to call Sling internally as a request in a full fledged manner.

Even though one can call Sling internally through SlingRequestProcessor usable 
Request and Response objects are only available as Mock objects and therefore 
limited In their abilities.

So I am wondering if you guys would mind for me to build a service providing 
the means to make internal Sling calls through the HTTP stack with an official 
internal Sling Request / Response object that provides all features applicable 
internally and removing most of the Unsupported Operation Exceptions?

Cheers - Andy


--
--
Carsten Ziegeler
Adobe Research Switzerland
[email protected]

Reply via email to