public class RestClusterStateAction extends BaseRestHandler
BaseRestHandler.RestChannelConsumer
MULTI_ALLOW_EXPLICIT_INDEX
deprecationLogger, logger, settings
Constructor and Description |
---|
RestClusterStateAction(Settings settings,
RestController controller,
SettingsFilter settingsFilter) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTripCircuitBreaker() |
BaseRestHandler.RestChannelConsumer |
prepareRequest(RestRequest request,
NodeClient client)
Prepare the request for execution.
|
protected java.util.Set<java.lang.String> |
responseParams()
Parameters used for controlling the response and thus might not be consumed during
preparation of the request execution in
BaseRestHandler.prepareRequest(RestRequest, NodeClient) . |
handleRequest, unrecognized
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportsContentStream, supportsPlainText
public RestClusterStateAction(Settings settings, RestController controller, SettingsFilter settingsFilter)
public BaseRestHandler.RestChannelConsumer prepareRequest(RestRequest request, NodeClient client) throws java.io.IOException
BaseRestHandler
BaseRestHandler.responseParams()
to indicate such
params.prepareRequest
in class BaseRestHandler
request
- the request to executeclient
- client for executing actions on the local nodejava.io.IOException
- if an I/O exception occurred parsing the request and preparing for
executionprotected java.util.Set<java.lang.String> responseParams()
BaseRestHandler
BaseRestHandler.prepareRequest(RestRequest, NodeClient)
.responseParams
in class BaseRestHandler
public boolean canTripCircuitBreaker()