org.apache.hadoop.hbase.rest
Class Main

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.Main
All Implemented Interfaces:
Constants

public class Main
extends Object
implements Constants

Main class for launching REST gateway as a servlet hosted by Jetty.

The following options are supported:


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
 
Constructor Summary
Main()
           
 
Method Summary
static void main(String[] args)
          The main method for the HBase rest server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(String[] args)
                 throws Exception
The main method for the HBase rest server.

Parameters:
args - command-line arguments
Throws:
Exception - exception


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.