public class RestTable extends Object
| Constructor and Description |
|---|
RestTable() |
| Modifier and Type | Method and 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) |
public static RestResponse buildResponse(Table table, RestChannel channel) throws Exception
Exceptionpublic static RestResponse buildXContentBuilder(Table table, RestChannel channel) throws Exception
Exceptionpublic static RestResponse buildTextPlainResponse(Table table, RestChannel channel) throws IOException
IOExceptionpublic static int[] buildHelpWidths(Table table, RestRequest request)
public static void pad(Table.Cell cell, int width, RestRequest request, UTF8StreamWriter out) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.