we use resource.class when the class itself is a resource and SlingHttpServletRequest.class is used for getting request objectsResource is the most commonly used adaptable in Sling Models. It represents a resource in the JCR repository, such as a node or a property. You would typically use Resource ...