org.apache.hadoop.hbase.rest
Class RESTServlet

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface org.apache.hadoop.hbase.rest.Constants
DEFAULT_LISTEN_PORT, DEFAULT_MAX_AGE, MIMETYPE_BINARY, MIMETYPE_HTML, MIMETYPE_JSON, MIMETYPE_PROTOBUF, MIMETYPE_TEXT, MIMETYPE_XML, VERSION_STRING
 
Method Summary
static RESTServlet getInstance()
           
static RESTServlet getInstance(org.apache.hadoop.conf.Configuration conf)
           
static void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.