org.apache.hadoop.hbase.stargate
Class RootResource
java.lang.Object
org.apache.hadoop.hbase.stargate.RootResource
- All Implemented Interfaces:
- Constants
public class RootResource
- extends Object
- implements Constants
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootResource
public RootResource()
throws IOException
- Throws:
IOException
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