public class RestAnalyzeAction extends BaseRestHandler
Modifier and Type | Class and Description |
---|---|
static class |
RestAnalyzeAction.Fields |
BaseRestHandler.RestChannelConsumer
MULTI_ALLOW_EXPLICIT_INDEX
deprecationLogger, logger, settings
Constructor and Description |
---|
RestAnalyzeAction(Settings settings,
RestController controller) |
Modifier and Type | Method and Description |
---|---|
BaseRestHandler.RestChannelConsumer |
prepareRequest(RestRequest request,
NodeClient client)
Prepare the request for execution.
|
boolean |
supportsPlainText()
Indicates if a RestHandler supports plain text bodies
|
handleRequest, responseParams, unrecognized
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canTripCircuitBreaker, supportsContentStream
public RestAnalyzeAction(Settings settings, RestController controller)
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
executionpublic boolean supportsPlainText()
RestHandler