Module org.elasticsearch.server
Package org.elasticsearch.rest
package org.elasticsearch.rest
Exposes Elasticsearch functionality over RESTful HTTP.
-
ClassDescriptionThrown when an API is not available in the current environment.Base handler for REST requests.REST requests are handled by preparing a channel consumer that represents the execution of the request against a channel.A body (or a part thereof) of an HTTP response that uses the
chunked
transfer-encoding.A REST response withContent-type: application/zip
to which the caller can write entries in an asynchronous and streaming fashion.DeprecationRestHandler
provides a proxy for any existingRestHandler
so that usage of the handler can be logged using theDeprecationLogger
.Encapsulate multiple handlers for the same path, allowing different handlers for different HTTP verbs and versions.A channel used to construct bytes / builder based outputs, and send responses.Handler for REST requestsA definition for an http header that should be copied to theThreadContext
when reading the request on the rest layer.Wraps the execution of aRestHandler
Identifies an object that supplies a filter for the content of aRestRequest
.This annotation is meant to be applied to RestHandler classes, and is used to determine which RestHandlers are available to requests at runtime in Serverless mode.A REST response with an XContent body to which the caller can write fragments of content in an asynchronous and streaming fashion.