Class RestMultiSearchTemplateAction

java.lang.Object
org.elasticsearch.rest.BaseRestHandler
org.elasticsearch.script.mustache.RestMultiSearchTemplateAction
All Implemented Interfaces:
org.elasticsearch.rest.RestHandler

public class RestMultiSearchTemplateAction extends org.elasticsearch.rest.BaseRestHandler
  • 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.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
    RestMultiSearchTemplateAction(org.elasticsearch.common.settings.Settings settings)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    parseRequest(org.elasticsearch.rest.RestRequest restRequest, boolean allowExplicitIndex)
    Parses a RestRequest body and returns a MultiSearchTemplateRequest
    org.elasticsearch.rest.BaseRestHandler.RestChannelConsumer
    prepareRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.client.node.NodeClient client)
     
    protected Set<String>
     
    List<org.elasticsearch.rest.RestHandler.Route>
     
    boolean
     

    Methods inherited from class org.elasticsearch.rest.BaseRestHandler

    getUsageCount, handleRequest, unrecognized

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.rest.RestHandler

    allowsUnsafeBuffers, allowSystemIndexAccessByDefault, canTripCircuitBreaker
  • Constructor Details

    • RestMultiSearchTemplateAction

      public RestMultiSearchTemplateAction(org.elasticsearch.common.settings.Settings settings)
  • Method Details

    • 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
    • getName

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

      public 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
    • parseRequest

      public static MultiSearchTemplateRequest parseRequest(org.elasticsearch.rest.RestRequest restRequest, boolean allowExplicitIndex) throws IOException
      Parses a RestRequest body and returns a MultiSearchTemplateRequest
      Throws:
      IOException
    • supportsContentStream

      public boolean supportsContentStream()
    • responseParams

      protected Set<String> responseParams()
      Overrides:
      responseParams in class org.elasticsearch.rest.BaseRestHandler