@GET @ApiIgnore // until documented
  @Path("{taskId}")
  @Produces("text/plain")
  public Response getTask(String body, @Context HttpHeaders headers, @Context UriInfo ui,
                          @PathParam("taskId") String taskId) {

    return handleRequest(headers, body, ui, Request.Type.GET,
        createTaskResource(m_clusterName, m_requestId, m_stageId, taskId));
  }
Handles GET: /clusters/{clusterID}/requests/{requestID}/tasks/{taskID}
Get a specific task.

@param headers  http headers
@param ui       uri info
@param taskId   component id

@return a task resource representation
ambari-server/src/main/java/org/apache/ambari/server/api/services/TaskService.java