allowedContentTypes property

Set<String> allowedContentTypes
final

Optional allow-list of MIME types such as image/png or image/*.

Empty means any content type is allowed unless it matches blockedContentTypes.

Implementation

final Set<String> allowedContentTypes;