* @param context
* @param router
* @param folder
*/
void attachBrowsing(Context context, Router router, String folder) {
TemplateRoute route = router.attach("/" + folder + "/{path}", ArtifactsResource.class);
Map<String, Variable> variables = route.getTemplate().getVariables();
variables.put("path", new Variable(Variable.TYPE_URI_PATH));
router.attach("/" + folder, ArtifactsResource.class);
}