java.lang.Object
org.elasticsearch.rest.action.cat.RestTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]
buildHelpWidths
(Table table, RestRequest request) static RestResponse
buildResponse
(Table table, RestChannel channel) static RestResponse
buildTextPlainResponse
(Table table, RestChannel channel) static RestResponse
buildXContentBuilder
(Table table, RestChannel channel) static void
pad
(Table.Cell cell, int width, RestRequest request, Writer out) static void
pad
(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
-