Class SignalsBaseRestHandler

    • 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 
      Modifier Constructor Description
      protected SignalsBaseRestHandler​(org.elasticsearch.common.settings.Settings settings)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected static org.elasticsearch.xcontent.XContentBuilder convertToJson​(org.elasticsearch.rest.RestChannel channel, org.elasticsearch.xcontent.ToXContent toXContent, org.elasticsearch.xcontent.ToXContent.Params params)  
      protected void errorResponse​(org.elasticsearch.rest.RestChannel channel, Exception e)  
      protected void errorResponse​(org.elasticsearch.rest.RestChannel channel, org.elasticsearch.rest.RestStatus status, String error)  
      protected void errorResponse​(org.elasticsearch.rest.RestChannel channel, org.elasticsearch.rest.RestStatus status, String error, String detailJsonDocument)  
      protected void response​(org.elasticsearch.rest.RestChannel channel, org.elasticsearch.rest.RestStatus status)  
      • Methods inherited from class org.elasticsearch.rest.BaseRestHandler

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

        allowsUnsafeBuffers, allowSystemIndexAccessByDefault, canTripCircuitBreaker, getConcreteRestHandler, supportsContentStream
    • Constructor Detail

      • SignalsBaseRestHandler

        protected SignalsBaseRestHandler​(org.elasticsearch.common.settings.Settings settings)
    • Method Detail

      • errorResponse

        protected void errorResponse​(org.elasticsearch.rest.RestChannel channel,
                                     org.elasticsearch.rest.RestStatus status,
                                     String error)
      • errorResponse

        protected void errorResponse​(org.elasticsearch.rest.RestChannel channel,
                                     org.elasticsearch.rest.RestStatus status,
                                     String error,
                                     String detailJsonDocument)
      • errorResponse

        protected void errorResponse​(org.elasticsearch.rest.RestChannel channel,
                                     Exception e)
      • response

        protected void response​(org.elasticsearch.rest.RestChannel channel,
                                org.elasticsearch.rest.RestStatus status)
      • convertToJson

        protected static org.elasticsearch.xcontent.XContentBuilder convertToJson​(org.elasticsearch.rest.RestChannel channel,
                                                                                  org.elasticsearch.xcontent.ToXContent toXContent,
                                                                                  org.elasticsearch.xcontent.ToXContent.Params params)