Niveau 1
Niveau 2
Se connecter à la communauté
Connectez-vous pour voir tous les badges
In the below code there is use of RequestResponseFactory to generate the Html output, I would like to refactor the code as its deprecated now.
also HttpServletRequest httpRequest passed to this method its also using requestResponseFacotry in the servlet who call the below method:
HttpServletRequest httpRequest = requestResponseFacotry.createRequest(HttpConstants.METHOD_GET, url);
Les sujets facilitent la catégorisation du contenu de la Communauté et vous aident à retrouver le contenu le plus pertinent.
Vues
Réponses
Nombre de J’aime
You can try using SlingInternalRequest
https://sling.apache.org/documentation/bundles/servlet-helpers.html#internalrequest-helpers
Thanks @h_kataria , SlingInternalRequest is an internal API. Using it is not generally recommended for production.
Vues
Réponses
Nombre de J’aime
Did you checked this thread ?
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/do-we-have-any-substitute-...
Hello @MayurSatav , Yes, but not helpful. As there is no org.apache.sling.api.request.RequestResponseFactory interface exist.
Vues
Réponses
Nombre de J’aime
Vues
Likes
Réponses