org.apache.hadoop.hbase.rest
Class RESTServer
java.lang.Object
org.apache.hadoop.hbase.rest.RESTServer
- All Implemented Interfaces:
- Constants
@InterfaceAudience.Private
public class RESTServer
- extends Object
- implements Constants
Main class for launching REST gateway as a servlet hosted by Jetty.
The following options are supported:
- -p --port : service port
- -ro --readonly : server mode
Fields inherited from interface org.apache.hadoop.hbase.rest.Constants |
CRLF, DEFAULT_LISTEN_PORT, DEFAULT_MAX_AGE, MIMETYPE_BINARY, MIMETYPE_HTML, MIMETYPE_JSON, MIMETYPE_PROTOBUF, MIMETYPE_PROTOBUF_IETF, MIMETYPE_TEXT, MIMETYPE_XML, VERSION_STRING |
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 |
RESTServer
public RESTServer()
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 © 2013 The Apache Software Foundation. All Rights Reserved.