presto-main/src/main/java/io/prestosql/server/remotetask/HttpLocationFactory.java/HttpLocationFactory/createQueryLocation
class HttpLocationFactory:    @Override
    public URI createQueryLocation(QueryId queryId)
    {
        requireNonNull(queryId, "queryId is null");
        return uriBuilderFrom(baseUri)
                .appendPath("/v1/query")
                .appendPath(queryId.toString())
                .build();
    }