Class ValidatingDataAccessor

A ValidatingDataAccessor wraps a DataAccessor such that the data stream is validated while being written. An AtomicDataAccessor can be used to prevent data being written in case validation fails.




validator: Validator


  • Returns metadata for all resources in the requested container. This should not be all metadata of those resources (but it can be), but instead the main metadata you want to show in situations where all these resources are presented simultaneously. Generally this would be metadata that is present for all of these resources, such as resource type or last modified date.

    It can be safely assumed that the incoming identifier will always correspond to a container.


    Returns AsyncIterableIterator<RepresentationMetadata>