Need clarification on topic https://sling.apache.org/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
Hi All,
It is mentioned here that
Note: resource.adaptTo(Node.class) may return null if the resource is not backed by a JCR node. This is particularly the case for NonExistingResource resources or resource provided by a non-JCR resource provider.
1] But isn't it something like every resource[probably a node] always has a jcr:content associated with it.
Can you please let me know on this.