if (bean == null) {
throw new ServletException("AuthorizationBean not found in application scope");
}
//TODO - padraic review with phil what clone is about
AbstractEndpoint clonedBean = (AbstractEndpoint) bean;
clonedBean.setUrl("https://api-content.dropbox.com/");
String path = request.getParameter("path");
// DropboxFiles Service - https://api-content.dropbox.com/<version>/files/dropbox/<path>
DropboxService svc = new DropboxService(buildHref(path, bean));