presto-main/src/main/java/io/prestosql/server/WorkerResource.java/WorkerResource/getThreads
class WorkerResource:    @GET
    @Path("{nodeId}/thread")
    public Response getThreads(@PathParam("nodeId") String nodeId)
    {
        return proxyJsonResponse(nodeId, "v1/thread");
    }