public class RestGetStoredScriptAction extends BaseRestHandler
BaseRestHandler.RestChannelConsumer
Modifier and Type | Field and Description |
---|---|
static ParseField |
_ID_PARSE_FIELD |
static ParseField |
FOUND_PARSE_FIELD |
MULTI_ALLOW_EXPLICIT_INDEX
deprecationLogger, logger, settings
Constructor and Description |
---|
RestGetStoredScriptAction(Settings settings,
RestController controller) |
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
public static final ParseField _ID_PARSE_FIELD
public static final ParseField FOUND_PARSE_FIELD
public RestGetStoredScriptAction(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
execution