this.client = client;
Settings settings = ImmutableSettings.Builder.EMPTY_SETTINGS;
SettingsFilter settingsFilter = new SettingsFilter(settings);
RestController controller = new RestController(settings);
healthAction = new RestClusterHealthAction(settings, client, controller);
stateAction = new RestClusterStateAction(settings, client, controller, settingsFilter);
nodesInfoAction = new RestNodesInfoAction(settings, client, controller, settingsFilter);
nodesStatsAction = new RestNodesStatsAction(settings, client, controller);
indicesStatusAction = new RestIndicesStatusAction(settings, client, controller, settingsFilter);
indicesStatsAction = new RestIndicesStatsAction(settings, client, controller);
indicesSegmentsAction = new RestIndicesSegmentsAction(settings, client, controller);