Interface MultipartResource

All Known Implementing Classes:
DelegatingMultipartResource, MarkdownResource, RegexMultipartResource

public interface MultipartResource
MultipartResources are "logical" resources which do have an URI, but are composed of multiple "parts" which are independent (sub)resources, each with their own MediaType and content.

Examples could be Emails with attachments (RFC 2045 & 2046), or files on operating systems with file systems where a single file can contain multiple alternative data streams (e.g. NTFS, and old classic Mac OS's HFS with data & resources forks), or things like the frontmatter resources.

The URI of the sub-resources should correspond to the "parent" MultipartResource's URI appended by the part name as a #fragment.

This interface intentionally does not extend Resource, because not all implementations will have a "root" resource (although some may).