class RestServerEndpoint implements AutoCloseableAsync {

	@VisibleForTesting
	static void createUploadDir(final Path uploadDir, final Logger log) throws IOException {
		if (!Files.exists(uploadDir)) {
			log.warn("Upload directory {} does not exist, or has been deleted externally. " +
				"Previously uploaded files are no longer available.", uploadDir);
			checkAndCreateUploadDir(uploadDir, log);
		}
	}

	public  RestServerEndpoint(RestServerEndpointConfiguration configuration);

}