public class RestCatAction extends BaseRestHandler
BaseRestHandler.RestChannelConsumer
MULTI_ALLOW_EXPLICIT_INDEX
deprecationLogger, logger, settings
Constructor and Description |
---|
RestCatAction(Settings settings,
RestController controller,
java.util.List<AbstractCatAction> catActions) |
Modifier and Type | Method and Description |
---|---|
BaseRestHandler.RestChannelConsumer |
prepareRequest(RestRequest request,
NodeClient client)
Prepare the request for execution.
|
handleRequest, responseParams, unrecognized
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canTripCircuitBreaker, supportsContentStream, supportsPlainText
@Inject public RestCatAction(Settings settings, RestController controller, java.util.List<AbstractCatAction> catActions)
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
execution