org.apache.hadoop.hbase.stargate
Class RootResource

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

public class RootResource
extends Object
implements Constants


Field Summary
 
Fields inherited from interface org.apache.hadoop.hbase.stargate.Constants
AUTHENTICATOR_KEY, DEFAULT_MAX_AGE, INSTANCE_ZNODE_ROOT, MIMETYPE_BINARY, MIMETYPE_HTML, MIMETYPE_JSON, MIMETYPE_PROTOBUF, MIMETYPE_TEXT, MIMETYPE_XML, MULTIUSER_KEY, STATUS_REPORT_PERIOD_KEY, USERS_TABLE, USERS_ZNODE_ROOT, VERSION_STRING
 
Constructor Summary
RootResource()
           
 
Method Summary
 javax.ws.rs.core.Response get(javax.ws.rs.core.UriInfo uriInfo)
           
 StorageClusterStatusResource getClusterStatusResource()
           
 StorageClusterStatusResource getClusterStatusResourceAuthorized(String token)
           
 TableResource getTableResource(String table)
           
 TableResource getTableResource(String token, String table)
           
 javax.ws.rs.core.Response getTableRootResource(String token)
           
 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
Throws:
IOException
Method Detail

get

public javax.ws.rs.core.Response get(@Context
                                     javax.ws.rs.core.UriInfo uriInfo)
                              throws IOException
Throws:
IOException

getClusterStatusResource

public StorageClusterStatusResource getClusterStatusResource()
                                                      throws IOException
Throws:
IOException

getVersionResource

public VersionResource getVersionResource()
                                   throws IOException
Throws:
IOException

getTableRootResource

public javax.ws.rs.core.Response getTableRootResource(String token)
                                               throws IOException
Throws:
IOException

getClusterStatusResourceAuthorized

public StorageClusterStatusResource getClusterStatusResourceAuthorized(String token)
                                                                throws IOException
Throws:
IOException

getTableResource

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

getTableResource

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


Copyright © 2010 The Apache Software Foundation