Sling Models adaptables
Hi All,
Could you please please explain about the adaptables in sling models when to go for Resource and when to go for SlingHttpServletRequest what is the use cases
@ Model(Adaptables=Resource.class)
- what will exactly happen when we adapt Resource
@ Model(Adaptables=SlingHttpServletRequest.class)
what will exactly happen when we adaptSlingHttpServletRequest
Please explain by use case if you have
Thank you