org.apache.hadoop.hbase.rest
Class RootResource

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

public class RootResource
extends ResourceBase


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
RootResource()
          Constructor
 
Method Summary
 javax.ws.rs.core.Response get(javax.ws.rs.core.UriInfo uriInfo)
           
 StorageClusterStatusResource getClusterStatusResource()
           
 TableResource getTableResource(String table)
           
 VersionResource getVersionResource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootResource

public RootResource()
             throws IOException
Constructor

Throws:
IOException
Method Detail

get

public javax.ws.rs.core.Response get(@Context
                                     javax.ws.rs.core.UriInfo uriInfo)

getClusterStatusResource

public StorageClusterStatusResource getClusterStatusResource()
                                                      throws IOException
Throws:
IOException

getVersionResource

public VersionResource getVersionResource()
                                   throws IOException
Throws:
IOException

getTableResource

public TableResource getTableResource(String table)
                               throws IOException
Throws:
IOException


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