@GET @ApiIgnore // until documented
  @Path("{componentName}")
  @Produces("text/plain")
  public Response getComponent(String body, @Context HttpHeaders headers, @Context UriInfo ui,
                               @PathParam("componentName") String componentName, @QueryParam("format") String format) {
    if (format != null && format.equals("client_config_tar")) {
      return createClientConfigResource(body, headers, ui, componentName);
    }

    return handleRequest(headers, body, ui, Request.Type.GET,
        createComponentResource(m_clusterName, m_serviceName, componentName));
  }
Handles GET: /clusters/{clusterID}/services/{serviceID}/components/{componentID}
Get a specific component.

@param headers       http headers
@param ui            uri info
@param componentName component id
@return a component resource representation
ambari-server/src/main/java/org/apache/ambari/server/api/services/ComponentService.java