java.lang.Object
org.elasticsearch.rest.action.cat.RestTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]buildHelpWidths(Table table, RestRequest request) static RestResponsebuildResponse(Table table, RestChannel channel) static RestResponsebuildTextPlainResponse(Table table, RestChannel channel) static RestResponsebuildXContentBuilder(Table table, RestChannel channel) static voidpad(Table.Cell cell, int width, RestRequest request, Writer out) static voidpad(Table.Cell cell, int width, RestRequest request, Writer out, boolean isLast)
-
Constructor Details
-
RestTable
public RestTable()
-
-
Method Details
-
buildResponse
- Throws:
Exception
-
buildXContentBuilder
- Throws:
Exception
-
buildTextPlainResponse
-
buildHelpWidths
-
pad
public static void pad(Table.Cell cell, int width, RestRequest request, Writer out) throws IOException - Throws:
IOException
-
pad
public static void pad(Table.Cell cell, int width, RestRequest request, Writer out, boolean isLast) throws IOException - Throws:
IOException
-