Class RestTable


  • public class RestTable
    extends java.lang.Object
    • Constructor Detail

      • RestTable

        public RestTable()
    • Method Detail

      • buildResponse

        public static RestResponse buildResponse​(Table table,
                                                 RestChannel channel)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • buildXContentBuilder

        public static RestResponse buildXContentBuilder​(Table table,
                                                        RestChannel channel)
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • buildTextPlainResponse

        public static RestResponse buildTextPlainResponse​(Table table,
                                                          RestChannel channel)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • buildHelpWidths

        public static int[] buildHelpWidths​(Table table,
                                            RestRequest request)