code: public Response.ResponseBuilder getTimeGateBuilder(final LdpRequest req, final String baseUrl) {
          final String identifier = getBaseUrl(baseUrl, req) + req.getPartition() + req.getPath();
          return Response.status(FOUND)
              .location(fromUri(identifier + "?version=" + req.getDatetime().getInstant().toEpochMilli()).build())
              .link(identifier, ORIGINAL + " " + TIMEGATE)
              .links(getMementoLinks(identifier, resource.getMementos()).toArray(Link[]::new))
              .header(VARY, ACCEPT_DATETIME);
      }
docs: Create a response builder for a TimeGate response
  @param req the LDP request
  @param baseUrl the base URL
  @return a response builder object