org.apache.hadoop.hbase.rest
Class RESTServlet
java.lang.Object
org.apache.hadoop.hbase.rest.RESTServlet
- All Implemented Interfaces:
- Constants
public class RESTServlet
- extends Object
- implements Constants
Singleton class encapsulating global REST servlet state and functions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static RESTServlet getInstance()
throws IOException
- Returns:
- the RESTServlet singleton instance
- Throws:
IOException
getInstance
public static RESTServlet getInstance(org.apache.hadoop.conf.Configuration conf)
throws IOException
- Parameters:
conf
- Existing configuration to use in rest servlet
- Returns:
- the RESTServlet singleton instance
- Throws:
IOException
stop
public static void stop()
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.