public interface RestChannel
| Modifier and Type | Method and Description |
|---|---|
BytesStreamOutput |
bytesOutput() |
boolean |
detailedErrorsEnabled() |
XContentBuilder |
newBuilder() |
XContentBuilder |
newBuilder(BytesReference autoDetectSource,
boolean useFiltering) |
XContentBuilder |
newErrorBuilder() |
RestRequest |
request() |
void |
sendResponse(RestResponse response) |
XContentBuilder newBuilder() throws IOException
IOExceptionXContentBuilder newErrorBuilder() throws IOException
IOExceptionXContentBuilder newBuilder(@Nullable BytesReference autoDetectSource, boolean useFiltering) throws IOException
IOExceptionBytesStreamOutput bytesOutput()
RestRequest request()
boolean detailedErrorsEnabled()
void sendResponse(RestResponse response)
Copyright © 2009–2017. All rights reserved.