class IngestInternalClientRest extends DefaultClient implements IngestInternalClient {

    @Override
    public void initWorkflow(WorkFlow workFlow) throws VitamException {
        ParametersChecker.checkParameter("Params cannot be null",
            workFlow);
        VitamRequestBuilder request = post()
            .withPath(INGEST_URL)
            .withHeader(GlobalDataRest.X_CONTEXT_ID, workFlow.getId())
            .withHeader(GlobalDataRest.X_TYPE_PROCESS, workFlow.getTypeProc())
            .withHeader(GlobalDataRest.X_ACTION, ProcessAction.INIT)
            .withHeader(GlobalDataRest.X_ACTION_INIT, ProcessAction.INIT)
            .withOctetAccept();
        try (Response response = make(request)) {
            check(response);
        } catch (IngestInternalClientServerException | IngestInternalClientNotFoundException e) {
            throw new VitamClientException(e);
        }
    }

      IngestInternalClientRest(IngestInternalClientFactory factory);

}