Class NonExistingResource

  • All Implemented Interfaces:
    Adaptable, Resource

    public final class NonExistingResource
    extends SyntheticResource
    Simple helper class representing nonexisting resources. This is an utility class to create non existing resources. It is not meant to be used to check if a resource is a non existing resource. Use the ResourceUtil.isNonExistingResource(Resource) method instead (or check the resource type yourself). The reason for this is that this resource might be wrapped by other resource implementations like resource decorators etc.