Package com.floragunn.signals.api
Class ExecuteWatchApiAction
- java.lang.Object
-
- org.elasticsearch.rest.BaseRestHandler
-
- com.floragunn.signals.api.SignalsBaseRestHandler
-
- com.floragunn.signals.api.ExecuteWatchApiAction
-
- All Implemented Interfaces:
com.floragunn.searchguard.filter.TenantAwareRestHandler,org.elasticsearch.rest.RestHandler
public class ExecuteWatchApiAction extends SignalsBaseRestHandler implements com.floragunn.searchguard.filter.TenantAwareRestHandler
-
-
Constructor Summary
Constructors Constructor Description ExecuteWatchApiAction(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.rest.RestController controller, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.client.Client client, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()protected org.elasticsearch.rest.BaseRestHandler.RestChannelConsumerprepareRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.client.node.NodeClient client)-
Methods inherited from class com.floragunn.signals.api.SignalsBaseRestHandler
convertToJson, errorResponse, errorResponse, errorResponse, response
-
Methods inherited from class org.elasticsearch.rest.BaseRestHandler
getUsageCount, handleRequest, responseParams, unrecognized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
ExecuteWatchApiAction
public ExecuteWatchApiAction(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.rest.RestController controller, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.client.Client client, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry)
-
-
Method Detail
-
prepareRequest
protected final org.elasticsearch.rest.BaseRestHandler.RestChannelConsumer prepareRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.client.node.NodeClient client) throws IOException- Specified by:
prepareRequestin classorg.elasticsearch.rest.BaseRestHandler- Throws:
IOException
-
getName
public String getName()
- Specified by:
getNamein classorg.elasticsearch.rest.BaseRestHandler
-
-