I have a requirement to-
1)path based slinghttpservlet to execute some business logic and set attributes a, b in the slinghttpservletrequest
2)Use the above set slinghttpservletrequest attributes, i.e a and b in sightly code.
Please suggest how can slingMOdel with adaptable as slingHttpSErvletRequest could be used for the above usecase
Please check https://helpx.adobe.com/experience-manager/using/sling_model_adaptation.html