Interface RestChannel

    • Method Detail

      • newBuilder

        XContentBuilder newBuilder()
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • newErrorBuilder

        XContentBuilder newErrorBuilder()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • detailedErrorsEnabled

        boolean detailedErrorsEnabled()
        Returns:
        true iff an error response should contain additional details like exception traces.
      • sendResponse

        void sendResponse​(RestResponse response)