@Path(value="/v2") public class RPCHandler extends AbstractAuthHandler
Modifier and Type | Method and Description |
---|---|
void |
getClusterStatuses(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder)
Get the cluster status for all clusters readable by the user making the request.
|
void |
getNodeProperties(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder)
Get properties of nodes from a specific cluster visible to the user.
|
getAndAuthenticateAccount
@POST @Path(value="/getClusterStatuses") public void getClusterStatuses(org.jboss.netty.handler.codec.http.HttpRequest request, co.cask.http.HttpResponder responder) throws Exception
request
- The request for cluster statuses.responder
- Responder for sending the response.Exception
@POST @Path(value="/getNodeProperties") public void getNodeProperties(org.jboss.netty.handler.codec.http.HttpRequest request, co.cask.http.HttpResponder responder) throws Exception
request
- Request for node properties in a cluster.responder
- Responder for sending the response.Exception
Copyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.