class IngestInternalClientRest extends DefaultClient implements IngestInternalClient {

    @Override
    public RequestResponse<ItemStatus> cancelOperationProcessExecution(String id)
        throws VitamClientException {
        ParametersChecker.checkParameter(BLANK_OPERATION_ID, id);
        Response response = null;
        try {
            response = make(delete()
                .withPath(OPERATION_URI + "/" + id)
                .withJsonAccept()
            );
            check(response);
            return RequestResponse.parseFromResponse(response, ItemStatus.class);
        } catch (InvalidParseOperationException | NotAcceptableClientException | WorkspaceClientServerException e) {
            throw new VitamClientException(e);
        } catch (VitamClientInternalException | IngestInternalClientServerException | IngestInternalClientNotFoundException | IngestInternalClientConflictException e) {
            throw new VitamClientInternalException(e);
        } finally {
            if (response != null) {
                response.close();
            }
        }
    }

      IngestInternalClientRest(IngestInternalClientFactory factory);

}