class MetaDataClientRest extends DefaultClient implements MetaDataClient {

    @Override
    public JsonNode reindex(IndexParameters indexParam)
        throws InvalidParseOperationException, MetaDataClientServerException, MetaDataNotFoundException {
        try (Response response = make(
            post().withJson().withPath(REINDEX_URI).withBody(indexParam, "The options are mandatory"))) {
            check(response);
            return response.readEntity(JsonNode.class);
        } catch (MetaDataExecutionException | MetaDataDocumentSizeException | VitamClientInternalException e) {
            throw new MetaDataClientServerException(e);
        }
    }

    public  MetaDataClientRest(VitamClientFactoryInterface factory);

}