public class TsDBExportAPIHandler
extends AbstractHandler
Settings of export can be modifiedt by several calls to this handler.
State is preserved by session cooky.
Constructor and Description |
---|
TsDBExportAPIHandler(RemoteTsDB tsdb) |
Modifier and Type | Method and Description |
---|---|
static long |
fromJsonID(java.lang.String text)
Throws exception if wrong format
|
void |
handle(java.lang.String target,
Request baseRequest,
HttpServletRequest request,
HttpServletResponse response) |
static java.lang.String |
toJsonID(long id) |
public TsDBExportAPIHandler(RemoteTsDB tsdb)
public void handle(java.lang.String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public static java.lang.String toJsonID(long id)
public static long fromJsonID(java.lang.String text)
text
-