}
if (from.getDir() != null) {// TODO unit test
String path = from.getDir();
if (!path.endsWith("/"))
path = path + "/";
httpOptions.withPrefix(path);
}
if (from.getMarker() != null) {
httpOptions.afterMarker(from.getMarker());
}
if (from.getMaxResults() != null) {