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 java.io.IOException
java.io.IOExceptionXContentBuilder newErrorBuilder() throws java.io.IOException
java.io.IOExceptionXContentBuilder newBuilder(@Nullable BytesReference autoDetectSource, boolean useFiltering) throws java.io.IOException
java.io.IOExceptionBytesStreamOutput bytesOutput()
RestRequest request()
boolean detailedErrorsEnabled()
void sendResponse(RestResponse response)