java.lang.Object
org.elasticsearch.rest.AbstractRestChannel
org.elasticsearch.http.DefaultRestChannel
- All Implemented Interfaces:
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.
-
Field Summary
Fields inherited from class org.elasticsearch.rest.AbstractRestChannel
request
-
Method Summary
Modifier and TypeMethodDescriptionprotected BytesStream
void
sendResponse
(RestResponse restResponse) Methods inherited from class org.elasticsearch.rest.AbstractRestChannel
bytesOutput, detailedErrorsEnabled, newBuilder, newBuilder, newBuilder, newBuilder, newErrorBuilder, releaseOutputBuffer, request
-
Method Details
-
newBytesOutput
- Overrides:
newBytesOutput
in classAbstractRestChannel
-
sendResponse
-