Class AbstractResource

  • All Implemented Interfaces:
    Adaptable, Resource
    Direct Known Subclasses:
    SyntheticResource

    public abstract class AbstractResource
    extends SlingAdaptable
    implements Resource
    The AbstractResource is an abstract implementation of the Resource interface.

    Implementations of the Resource interface are strongly encouraged to either extend from this class or the ResourceWrapper class instead of implementing the Resource from the ground up. This will ensure to always be able to support new methods that might be introduced in the Resource interface in the future.

    Since:
    2.1.0 (Sling API Bundle 2.1.0)