Class SearchWatchApiAction

  • All Implemented Interfaces:
    com.floragunn.searchguard.filter.TenantAwareRestHandler, org.elasticsearch.rest.RestHandler

    public class SearchWatchApiAction
    extends org.elasticsearch.rest.BaseRestHandler
    implements com.floragunn.searchguard.filter.TenantAwareRestHandler
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.elasticsearch.rest.BaseRestHandler

        org.elasticsearch.rest.BaseRestHandler.RestChannelConsumer, org.elasticsearch.rest.BaseRestHandler.Wrapper
      • Nested classes/interfaces inherited from interface org.elasticsearch.rest.RestHandler

        org.elasticsearch.rest.RestHandler.DeprecatedRoute, org.elasticsearch.rest.RestHandler.ReplacedRoute, org.elasticsearch.rest.RestHandler.Route
    • Field Summary

      • Fields inherited from class org.elasticsearch.rest.BaseRestHandler

        DEFAULT_INCLUDE_TYPE_NAME_POLICY, INCLUDE_TYPE_NAME_PARAMETER, logger, MULTI_ALLOW_EXPLICIT_INDEX
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchWatchApiAction​(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.rest.RestController controller, org.elasticsearch.threadpool.ThreadPool threadPool)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getName()  
      protected org.elasticsearch.rest.BaseRestHandler.RestChannelConsumer prepareRequest​(org.elasticsearch.rest.RestRequest request, org.elasticsearch.client.node.NodeClient client)  
      List<org.elasticsearch.rest.RestHandler.Route> routes()  
      • Methods inherited from class org.elasticsearch.rest.BaseRestHandler

        getUsageCount, handleRequest, responseParams, unrecognized
      • Methods inherited from interface org.elasticsearch.rest.RestHandler

        allowsUnsafeBuffers, canTripCircuitBreaker, deprecatedRoutes, handleRequest, replacedRoutes, supportsContentStream
      • Methods inherited from interface com.floragunn.searchguard.filter.TenantAwareRestHandler

        getTenantName, getTenantParamName
    • Constructor Detail

      • SearchWatchApiAction

        public SearchWatchApiAction​(org.elasticsearch.common.settings.Settings settings,
                                    org.elasticsearch.rest.RestController controller,
                                    org.elasticsearch.threadpool.ThreadPool threadPool)
    • Method Detail

      • routes

        public List<org.elasticsearch.rest.RestHandler.Route> routes()
        Specified by:
        routes in interface org.elasticsearch.rest.RestHandler
        Specified by:
        routes in class org.elasticsearch.rest.BaseRestHandler
      • prepareRequest

        protected final org.elasticsearch.rest.BaseRestHandler.RestChannelConsumer prepareRequest​(org.elasticsearch.rest.RestRequest request,
                                                                                                  org.elasticsearch.client.node.NodeClient client)
                                                                                           throws IOException
        Specified by:
        prepareRequest in class org.elasticsearch.rest.BaseRestHandler
        Throws:
        IOException
      • getName

        public String getName()
        Specified by:
        getName in class org.elasticsearch.rest.BaseRestHandler