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
Exception
public static RestResponse buildXContentBuilder(Table table, RestChannel channel) throws Exception
Exception
public static RestResponse buildTextPlainResponse(Table table, RestChannel channel) throws IOException
IOException
public static int[] buildHelpWidths(Table table, RestRequest request)
public static void pad(Table.Cell cell, int width, RestRequest request, UTF8StreamWriter out) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.