if (rrf == null) {
throw new ResourceException("DirectoryResource has "+
"no HTTPFrame");
}
try {
HTTPFrame httpframe = (HTTPFrame) rrf.unsafeLock();
if (p instanceof DirectoryResource)
return httpframe.getDirectoryListing(request);
else
return httpframe.get(request);
} catch (InvalidResourceException ex) {