code: public ScanDestination getDestinationWithSubpath(String path) {
          if (isDiscarding()) {
              return discard();
          }
          if (path == null) {
              return new ScanDestination(_uri);
          }
          return new ScanDestination(UriBuilder.fromUri(_uri).path(path).build());
      }
docs: Creates a new scan destination at the given path rooted at the current scan destination.