package com.purui.prims.headless.server.service;

import com.purui.prims.auth.api.authentication.pojo.User;
import com.purui.prims.headless.api.pojo.request.BatchDownloadReq;
import com.purui.prims.headless.api.pojo.request.DownloadMetricReq;

import javax.servlet.http.HttpServletResponse;

public interface DownloadService {

    void downloadByStruct(DownloadMetricReq downloadStructReq,
                          User user, HttpServletResponse response) throws Exception;

    void batchDownload(BatchDownloadReq batchDownloadReq, User user, HttpServletResponse response) throws Exception;
}
