if(launchSession == null) {
throw new Exception("No launch session.");
}
fileSystemForm.setLaunchSession(launchSession);
}
DAVTransaction transaction = new DAVTransaction(request, response);
VFSRepository repository = VFSRepository.getRepository(launchSession.getSession().getHttpSession());
VFSResource res = repository.getResource(launchSession, fileSystemForm.getPath(), transaction.getCredentials());
if (res == null) {
throw new Exception("Could not find network place resource for path " + fileSystemForm.getPath() + ".");
}
fileSystemForm.setVFSResource(res);
return res;