public class RestTable
extends java.lang.Object
Constructor | Description |
---|---|
RestTable() |
Modifier and Type | Method | Description |
---|---|---|
static 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,
UTF8StreamWriter out) |
|
static void |
pad(Table.Cell cell,
int width,
RestRequest request,
UTF8StreamWriter out,
boolean isLast) |
public static RestResponse buildResponse(Table table, RestChannel channel) throws java.lang.Exception
java.lang.Exception
public static RestResponse buildXContentBuilder(Table table, RestChannel channel) throws java.lang.Exception
java.lang.Exception
public static RestResponse buildTextPlainResponse(Table table, RestChannel channel) throws java.io.IOException
java.io.IOException
public static int[] buildHelpWidths(Table table, RestRequest request)
public static void pad(Table.Cell cell, int width, RestRequest request, UTF8StreamWriter out) throws java.io.IOException
java.io.IOException
public static void pad(Table.Cell cell, int width, RestRequest request, UTF8StreamWriter out, boolean isLast) throws java.io.IOException
java.io.IOException