AbstractRestChannelpublic interface RestChannel
| Modifier and Type | Method | 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.IOExceptionXContentBuilder newErrorBuilder() throws java.io.IOException
java.io.IOExceptionXContentBuilder newBuilder(@Nullable XContentType xContentType, boolean useFiltering) throws java.io.IOException
java.io.IOExceptionBytesStreamOutput bytesOutput()
RestRequest request()
boolean detailedErrorsEnabled()
void sendResponse(RestResponse response)