Class RestTable

java.lang.Object
org.elasticsearch.rest.action.cat.RestTable

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

    • RestTable

      public RestTable()
  • Method Details

    • 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)
    • pad

      public static void pad​(Table.Cell cell, int width, RestRequest request, UTF8StreamWriter out) throws java.io.IOException
      Throws:
      java.io.IOException
    • pad

      public static void pad​(Table.Cell cell, int width, RestRequest request, UTF8StreamWriter out, boolean isLast) throws java.io.IOException
      Throws:
      java.io.IOException