@GET
  @Path("/")
  @Produces({"text/plain", "application/json"})
  public Response getValue(@Context HttpHeaders headers, @Context UriInfo ui) {
    return Response.ok(getResponse("hdfs_user", "proxyuser_group")).build();
  }
Handles: GET /.

@param headers   http headers
@param ui        uri info

@return value JSON representation
ambari-views/examples/cluster-view/src/main/java/org/apache/ambari/view/cluster/ClusterConfigurationService.java