/** * Convenience constructor where the MIME type is automatically derived from the filename. * * @param props * @param file * @param path */ private PropReadFileStream(FileProps props, AsyncFile file, String path) { this( props, file, path, MimeTypeUtils.getMimeTypeForFilename(path).orElse(DEFAULT_BINARY_MIME_TYPE)); }