protected boolean handleLibraryRequest(HttpServletRequest req, HttpServletResponse resp, IPath path, IUser user)
throws ServletException, IOException {
IVResource libraryURL = user.getResource(path.toString());
if (libraryURL != null) {
CacheHeaders caching = libraryURL.readOnly() ? CacheHeaders.CACHE : CacheHeaders.NO_CACHE;
writePage(req, resp, libraryURL, caching);
return true;
}
return false;
}