public class RESTServlet extends Object implements RestConstants
CRLF, MIMETYPE_BINARY, MIMETYPE_HTML, MIMETYPE_JSON, MIMETYPE_PROTOBUF, MIMETYPE_PROTOBUF_IETF, MIMETYPE_TEXT, MIMETYPE_XML, VERSION_STRING
Modifier and Type | Method and Description |
---|---|
List<RunningServer> |
getDcsServersList() |
static RESTServlet |
getInstance() |
static RESTServlet |
getInstance(org.apache.hadoop.conf.Configuration conf) |
ScriptManager |
getScriptManager() |
static void |
stop() |
public static RESTServlet getInstance() throws IOException
IOException
public static RESTServlet getInstance(org.apache.hadoop.conf.Configuration conf) throws IOException
conf
- Existing configuration to use in rest servletIOException
public ScriptManager getScriptManager()
public static void stop()
public List<RunningServer> getDcsServersList()
Copyright © 2016. All rights reserved.