public interface RestChannel
Modifier and Type | Method and Description |
---|---|
BytesStreamOutput |
bytesOutput() |
boolean |
detailedErrorsEnabled() |
XContentBuilder |
newBuilder() |
XContentBuilder |
newBuilder(XContentType xContentType,
boolean useFiltering) |
XContentBuilder |
newErrorBuilder() |
RestRequest |
request() |
void |
sendResponse(RestResponse response) |
XContentBuilder newBuilder() throws java.io.IOException
java.io.IOException
XContentBuilder newErrorBuilder() throws java.io.IOException
java.io.IOException
XContentBuilder newBuilder(@Nullable XContentType xContentType, boolean useFiltering) throws java.io.IOException
java.io.IOException
BytesStreamOutput bytesOutput()
RestRequest request()
boolean detailedErrorsEnabled()
void sendResponse(RestResponse response)