class AssetRenditionsDownloadServlet extends SlingAllMethodsServlet implements AssetRenditionsDownloadOrchestratorManager {

    protected List<AssetModel> getAssets(final SlingHttpServletRequest request) {
        final RequestParameter[] requestParameters = request.getRequestParameters(REQ_KEY_ASSET_PATHS);

        if (requestParameters == null) { return EMPTY_LIST; }

        return Arrays.stream(requestParameters)
                .map(RequestParameter::getString)
                .map(path -> request.getResourceResolver().getResource(path))
                .filter(Objects::nonNull)
                .map(resource -> modelFactory.getModelFromWrappedRequest(request, resource, AssetModel.class))
                .filter(Objects::nonNull)
                .collect(Collectors.toList());
    }

}