Class DefaultRestChannel

java.lang.Object
org.elasticsearch.rest.AbstractRestChannel
org.elasticsearch.http.DefaultRestChannel
All Implemented Interfaces:
RestChannel

public class DefaultRestChannel extends AbstractRestChannel implements RestChannel
The default rest channel for incoming requests. This class implements the basic logic for sending a rest response. It will set necessary headers nad ensure that bytes are released after the response is sent.