public final class Netty3HttpChannel
extends org.elasticsearch.rest.AbstractRestChannel
| Constructor and Description |
|---|
Netty3HttpChannel(Netty3HttpServerTransport transport,
Netty3HttpRequest request,
OrderedUpstreamMessageEvent orderedUpstreamMessageEvent,
boolean detailedErrorsEnabled,
org.elasticsearch.common.util.concurrent.ThreadContext threadContext) |
| Modifier and Type | Method and Description |
|---|---|
org.elasticsearch.common.io.stream.BytesStreamOutput |
newBytesOutput() |
void |
sendResponse(org.elasticsearch.rest.RestResponse response) |
public Netty3HttpChannel(Netty3HttpServerTransport transport, Netty3HttpRequest request, @Nullable OrderedUpstreamMessageEvent orderedUpstreamMessageEvent, boolean detailedErrorsEnabled, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)
transport - The corresponding Netty3HttpServerTransport where this channel belongs to.request - The request that is handled by this channel.orderedUpstreamMessageEvent - If HTTP pipelining is enabled provide the corresponding Netty upstream event. May be null if
HTTP pipelining is disabled.detailedErrorsEnabled - true iff error messages should include stack traces.